C# Class KeePass.Util.GlobalMutexPool

Low performance, system-wide mutex objects pool.
Exibir arquivo Open project: amiryal/keepass2 Class Usage Examples

Public Methods

Method Description
CreateMutex ( string strName, bool bInitiallyOwned ) : bool
Refresh ( ) : void
ReleaseAll ( ) : void
ReleaseMutex ( string strName ) : bool

Private Methods

Method Description
CreateMutexUnix ( string strName, bool bInitiallyOwned ) : bool
CreateMutexWin ( string strName, bool bInitiallyOwned ) : bool
GetMutexPath ( string strName ) : string
ReleaseMutexUnix ( string strName ) : bool
ReleaseMutexWin ( string strName ) : bool
WriteMutexFilePriv ( string strPath ) : void

Method Details

CreateMutex() public static method

public static CreateMutex ( string strName, bool bInitiallyOwned ) : bool
strName string
bInitiallyOwned bool
return bool

Refresh() public static method

public static Refresh ( ) : void
return void

ReleaseAll() public static method

public static ReleaseAll ( ) : void
return void

ReleaseMutex() public static method

public static ReleaseMutex ( string strName ) : bool
strName string
return bool