C# Class MonkeyWrench.Lock

Mostra file Open project: rolfbjarne/monkeywrench

Public Methods

Method 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

Method Description
Lock ( ) : System

Method Details

Create() public static method

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
return Lock

Unlock() public method

public Unlock ( ) : void
return void