LockStatement


Object Hierarchy:

Vala.LockStatement Vala.LockStatement Vala.LockStatement Vala.CodeNode Vala.CodeNode Vala.CodeNode->Vala.LockStatement Vala.Statement Vala.Statement Vala.Statement->Vala.LockStatement

Description:

public class LockStatement : CodeNode, Statement

Represents a lock statement.

 lock (foo); 
or
 lock (foo) { ... } 

If the statement is empty, the mutex remains locked until a corresponding Vala.UnlockStatement occurs. Otherwise it's translated into a try/finally statement which unlocks the mutex after the block is finished.


Namespace: Vala
Package: vala

Content:

Properties:

Creation methods:

Methods:

Fields:

Inherited Members: