This allows using mutices in with-blocks and wraps up the functionality of acquire() and try_acquire() into a single acquire(blocking=True). Furthermore, the GIL is no longer released in cases of no contention. |
||
|---|---|---|
| .. | ||
| test_condition_var.py | ||
| test_mutex.py | ||