Message78976
I'm not sure about the approach of dynamically allocating self->lock.
Imagine you allocate this lock while another thread is between
ENTER_HASHLIB and LEAVE_HASHLIB. What happens on LEAVE_HASHLIB? The
thread tries to release a lock it hadn't acquired (because the lock was
NULL at the time). Is it simply ignored? |
|
Date |
User |
Action |
Args |
2009-01-03 17:08:38 | pitrou | set | recipients:
+ pitrou, gregory.p.smith, vstinner, gps, ebfe |
2009-01-03 17:08:38 | pitrou | set | messageid: <1231002518.58.0.344967124374.issue4751@psf.upfronthosting.co.za> |
2009-01-03 17:08:38 | pitrou | link | issue4751 messages |
2009-01-03 17:08:37 | pitrou | create | |
|