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:2129
Initialize Lock. Creates and initializes PTHREAD_MUTEX_RECURSIVE pthread_mutex.