RWLock.writerLock

Obtain a write lock on @rw_lock. If any thread already holds a read or write lock on @rw_lock, the current thread will block until all other threads have dropped their locks on @rw_lock.

class RWLock
void
writerLock
()

Meta

Since

2.32