NGS version 0.2.5 auto-generated documentation
Documentation index
The global namespace
ReentrantLock type
ReentrantLock type
Re-entrant synchronization lock. Same thread can re-acquire the lock.
Direct parent types
Lock
Synchronization lock.
Direct subtypes: 1
Methods
init(
l:ReentrantLock
)
Source:
stdlib.ngs:1082
Initialize Lock. Creates and initializes PTHREAD_MUTEX_RECURSIVE pthread_mutex.