pthreads :: ConcurrentCollection :: mutex
Mutex
self
It is used by the implementation on each protected methods. It can also be used externally to ensure that no other Thread modify this object.
Thread
# `Mutex` used to synchronize access to `self` # # It is used by the implementation on each protected methods. It can also # be used externally to ensure that no other `Thread` modify this object. var mutex = new Mutex