Kaydet (Commit) 0ce642eb authored tarafından Christian Heimes's avatar Christian Heimes

yet another WITH_THREADS typo

üst 7cd97fcf
...@@ -464,7 +464,7 @@ SHA3_factory(PyObject *args, PyObject *kwdict, const char *fmt, ...@@ -464,7 +464,7 @@ SHA3_factory(PyObject *args, PyObject *kwdict, const char *fmt,
} }
if (data_obj) { if (data_obj) {
#ifdef WITH_THREADS #ifdef WITH_THREAD
if (buf.len >= HASHLIB_GIL_MINSIZE) { if (buf.len >= HASHLIB_GIL_MINSIZE) {
/* invariant: New objects can't be accessed by other code yet, /* invariant: New objects can't be accessed by other code yet,
* thus it's safe to release the GIL without locking the object. * thus it's safe to release the GIL without locking the object.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment