C# Class MonkeyWrench.Lock

Afficher le fichier Open project: rolfbjarne/monkeywrench

Méthodes publiques

Méthode Description
Create ( string name ) : Lock

Try to aquire a machine-wide lock named 'name'. Returns null in case of failure (it doesn't wait at all).

Unlock ( ) : void

Private Methods

Méthode Description
Lock ( ) : System

Method Details

Create() public static méthode

Try to aquire a machine-wide lock named 'name'. Returns null in case of failure (it doesn't wait at all).
public static Create ( string name ) : Lock
name string
Résultat Lock

Unlock() public méthode

public Unlock ( ) : void
Résultat void