writer_lock


Description:

public void writer_lock ()

Obtain a write lock on this.

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

Parameters:

this

a RWLock