@lock


Description:

public abstract void @lock ()

Locks this.

If it is already locked by another thread, the current thread will block until it is unlocked by the other thread.

Note: unlike @lock, this method recursive, which means a thread can lock this several times (and has to unlock it as many times to actually unlock it).

Parameters:

this

a Lockable object.




2022 vala-language.org