writer_trylock
Description:
public bool writer_trylock ()
Tries to obtain a write lock on this.
If another thread currently holds a read or write lock on this, it immediately returns
false. Otherwise it locks this and returns true
.
Parameters:
Returns:
true if this could be locked
|