Anonymous user
Mutex: Difference between revisions
Updated to work with Nim 1.4: replaced "TLock" with "Lock".
(Add source for Rust) |
(Updated to work with Nim 1.4: replaced "TLock" with "Lock".) |
||
Line 677:
<lang nim>import locks
var mutex:
initLock mutex</lang>
Locking:
|