@lock


Description:

public void @lock ()

Locks this.

Note:

Use @lock

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 calling thread, this functions increases the depth of this and returns immediately.

Parameters:

this

a StaticRecMutex to lock.