writer_unlock


Description:

public void writer_unlock ()

Unlocks this.

Note:

Use writer_unlock instead

If a thread is waiting to lock this for writing and all locks for reading have been unlocked, the waiting thread is woken up and can lock this for writing. If no thread is waiting to lock this for writing, and some thread or threads are waiting to lock this for reading, the waiting threads are woken up and can lock this for reading.

Parameters:

this

a StaticRWLock to unlock after writing.