Home | History | Annotate | Download | only in python2.7

Lines Matching defs:mutex

3 A mutex has two pieces of state -- a 'locked' bit and a queue.
4 When the mutex is not locked, the queue is empty.
7 When the mutex is unlocked while the queue is not empty,
15 warnpy3k("the mutex module has been removed in Python 3.0", stacklevel=2)
20 class mutex:
22 """Create a new mutex -- initially unlocked."""
27 """Test the locked bit of the mutex."""
40 """Lock a mutex, call the function with supplied argument
41 when it is acquired. If the mutex is already locked, place
49 """Unlock a mutex. If the queue is not empty, call the next