Commit Graph

4 Commits

Author SHA1 Message Date
rdb c4a01ac564 pipeline: give Mutex and ReMutex more Pythonic semantics
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.
2019-05-12 20:58:13 +02:00
rdb bf302a0838 tests: hopefully fix sporadic test failures with condition var test 2019-05-03 18:03:16 +02:00
rdb 362ee33d32 tests: hopefully make notify_all() test more robust 2019-05-02 21:34:40 +02:00
rdb 3f1bd1744b tests: add threaded unit tests for Mutex and ConditionVar 2019-02-07 00:19:15 +01:00