@lock


Description:

public void @lock ()

Locks this.

If this is already locked by another thread, the current thread will block until this is unlocked by the other thread. If this is already locked by the current thread, the 'lock count' of this is increased. The mutex will only become available again when it is unlocked as many times as it has been locked.

Parameters:

this

a RecMutex