|
static bool | MutexCheckAbandoned (Mutex m) |
| Check whether the specified mutex has been abandoned, and returns true if it has been (otherwise, false is returned). More...
|
|
static bool | MutexGlobalCheckAbandoned () |
| Check whether the global mutex (property MutexGlobal) has been abandoned, and returns true if it has been (otherwise, false is returned). More...
|
|
static bool IG.Lib.UtilSettings.MutexCheckAbandoned |
( |
Mutex |
m | ) |
|
|
inlinestatic |
Check whether the specified mutex has been abandoned, and returns true if it has been (otherwise, false is returned).
After the call, mutex is no longer in abandoned state (WaitOne() will not throw an exception) if it has been before the call.
Call does not block.
- Parameters
-
m | Mutex that is checked, must not be null. |
- Returns
- true if mutex has been abandoned, false otherwise.
static bool IG.Lib.UtilSettings.MutexGlobalCheckAbandoned |
( |
| ) |
|
|
inlinestatic |
Check whether the global mutex (property MutexGlobal) has been abandoned, and returns true if it has been (otherwise, false is returned).
After the call, mutex is no longer in abandoned state (WaitOne() will not throw an exception) if it has been before the call.
Call does not block.
- Returns
- true if mutex has been abandoned, false otherwise.
const string IG.Lib.UtilSettings.MutexGlobalName = "Global\\IG.Lib.Utils.MutexGlobal.xx" |
Name of the global mutex.
volatile Mutex IG.Lib.UtilSettings._mutexGlobal |
|
staticprotected |
Mutex IG.Lib.UtilSettings.MutexGlobal |
|
staticget |
Mutex for system-wide exclusive locks.
The documentation for this class was generated from the following file: