mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
Merge in the new GIL.
This commit is contained in:
parent
434736a1a6
commit
074e5ed974
10 changed files with 522 additions and 73 deletions
|
@ -96,10 +96,7 @@ maybe_small_long(PyLongObject *v)
|
|||
#define MIN(x, y) ((x) > (y) ? (y) : (x))
|
||||
|
||||
#define SIGCHECK(PyTryBlock) \
|
||||
if (--_Py_Ticker < 0) { \
|
||||
_Py_Ticker = _Py_CheckInterval; \
|
||||
if (PyErr_CheckSignals()) PyTryBlock \
|
||||
}
|
||||
if (PyErr_CheckSignals()) PyTryBlock \
|
||||
|
||||
/* forward declaration */
|
||||
static int bits_in_digit(digit d);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue