Method | Description | |
---|---|---|
Close ( |
Closes an existing mutex handle. The mutex is destroyed if this is the last handle.
|
|
Create ( [ name, |
Creates or opens a mutex. The mutex will automatically be released once the process terminates. |
|
Open ( [ name ) : bool |
Tries to open an existing mutex. Opening a mutex creates an additional handle to it, keeping it alive until the process terminates. |
|
Probe ( [ name ) : bool |
Checks whether a specific mutex exists without openining a lasting handle.
|
public static Close ( |
||
handle | The mutex handle to be closed. | |
return | void |
public static Create ( [ name, |
||
name | [ | The name to be used as a mutex identifier. |
handle | The handle created for the mutex. Can be used to close it before the process ends. | |
return | bool |
public static Open ( [ name ) : bool | ||
name | [ | The name to be used as a mutex identifier. |
return | bool |
public static Probe ( [ name ) : bool | ||
name | [ | The name to be used as a mutex identifier. |
return | bool |