This module contains Nim's support for reentrant locks.
Procs
proc deinitRLock(lock: var RLock) {.inline, ...raises: [], tags: [], forbids: [].}
- Frees the resources associated with the lock. Source Edit
proc tryAcquire(lock: var RLock): bool {.inline, ...raises: [], tags: [], forbids: [].}
- Tries to acquire the given lock. Returns true on success. Source Edit