Jump to content

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: TLockLock
initLock mutex</lang>
Locking:
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.