Message78952
Haypo, we can probably reduce overhead by defining ENTER_HASHLIB like this:
#define ENTER_HASHLIB(obj) \
if ((obj)->lock) { \
if (!PyThread_acquire_lock((obj)->lock, 0)) { \
Py_BEGIN_ALLOW_THREADS \
PyThread_acquire_lock((obj)->lock, 1); \
Py_END_ALLOW_THREADS \
} \
} |
|
Date |
User |
Action |
Args |
2009-01-03 12:28:53 | ebfe | set | recipients:
+ ebfe, gregory.p.smith, pitrou, vstinner, gps |
2009-01-03 12:28:53 | ebfe | set | messageid: <1230985733.4.0.5704593272.issue4751@psf.upfronthosting.co.za> |
2009-01-03 12:28:52 | ebfe | link | issue4751 messages |
2009-01-03 12:28:52 | ebfe | create | |
|