Mutex: Difference between revisions

Content added Content deleted
(Add source for Rust)
(Updated to work with Nim 1.4: replaced "TLock" with "Lock".)
Line 677:
<lang nim>import locks
 
var mutex: TLockLock
initLock mutex</lang>
Locking: