[issue21312] Update thread_foobar.h to include timed locking and TLS support

Antoine Pitrou report at bugs.python.org
Sat Apr 19 19:48:09 CEST 2014


Antoine Pitrou added the comment:

Hum, your comment about deferring is wrong, since thread_nt.h also does the deferring:

int
PyThread_acquire_lock(PyThread_type_lock aLock, int waitflag)
{
    return PyThread_acquire_lock_timed(aLock, waitflag ? -1 : 0, 0);
}

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21312>
_______________________________________


More information about the Python-bugs-list mailing list