@unlock


Description:

public void @unlock ()

Unlocks this.

If another thread is blocked in a @lock call for this , it will become unblocked and can lock this itself.

Calling @unlock on a mutex that is not locked by the current thread leads to undefined behaviour.

Parameters:

this

a Mutex