Property | Type | Description |
---|
Method | Description | |
---|---|---|
Dispose ( ) : void | ||
IsMutexAbandoned ( ) : bool |
Returns the flag whether this mutex is abandoned or not.
|
|
Lock ( ) : bool |
Locks the critical section
|
|
MutexEx ( |
Default copy constructor
|
|
MutexEx ( String mutexName = null ) : System |
Default constructor
|
|
MutexEx ( bool isInitialOwned, String mutexName = null ) : System |
Default Constructor
|
|
TryLock ( ) : bool |
Try to lock the critical section If other thread is already in the critical section, it just returns false and continue, otherwise obtain the ciritical section
|
|
TryLockFor ( int dwMilliSecond ) : bool |
Try to lock the critical section for given time
|
|
Unlock ( ) : void |
Leave the critical section
|
Method | Description | |
---|---|---|
Dispose ( bool isDisposing ) : void |
protected Dispose ( bool isDisposing ) : void | ||
isDisposing | bool | |
return | void |
public MutexEx ( |
||
b | the object to copy from | |
return | System |
public MutexEx ( String mutexName = null ) : System | ||
mutexName | String | name of the mutex |
return | System |
public MutexEx ( bool isInitialOwned, String mutexName = null ) : System | ||
isInitialOwned | bool | flag to own the mutex on creation |
mutexName | String | name of the mutex |
return | System |
public TryLockFor ( int dwMilliSecond ) : bool | ||
dwMilliSecond | int | the wait time |
return | bool |