C# Class Mono.Unix.FileMutex

Exibir arquivo Open project: oleg-shilo/cs-script Class Usage Examples

Private Properties

Property Type Description
Open void

Public Methods

Method Description
FileMutex ( string name ) : System
FileMutex ( string fileName, string context ) : System
Release ( ) : void
Wait ( int millisecondsTimeout ) : bool

Private Methods

Method Description
Open ( ) : void

Method Details

FileMutex() public method

public FileMutex ( string name ) : System
name string
return System

FileMutex() public method

public FileMutex ( string fileName, string context ) : System
fileName string
context string
return System

Release() public method

public Release ( ) : void
return void

Wait() public method

public Wait ( int millisecondsTimeout ) : bool
millisecondsTimeout int
return bool