Author ebfe
Recipients ebfe, gps, gregory.p.smith, pitrou, vstinner
Date 2009-01-03.12:28:52
SpamBayes Score 0.00690447
Marked as misclassified No
Message-id <1230985733.4.0.5704593272.issue4751@psf.upfronthosting.co.za>
In-reply-to
Content
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 \
        } \
    }
History
Date User Action Args
2009-01-03 12:28:53ebfesetrecipients: + ebfe, gregory.p.smith, pitrou, vstinner, gps
2009-01-03 12:28:53ebfesetmessageid: <1230985733.4.0.5704593272.issue4751@psf.upfronthosting.co.za>
2009-01-03 12:28:52ebfelinkissue4751 messages
2009-01-03 12:28:52ebfecreate