Public Member Functions | |
| LogMutex (string collectionID) | |
| Initializes a new instance of the Mutex class with default properties. | |
| LogMutex (string collectionID, bool initiallyOwned) | |
| Initializes a new instance of the Mutex class with a Boolean value indicating whether the calling thread should have initial ownership of the mutex. | |
| void | Close (string collectionID) |
| Releases all resources held by the current WaitHandle. | |
| void | ReleaseMutex (string collectionID) |
| Releases the mutex once. | |
| bool | WaitOne (string collectionID) |
| Blocks the current thread until the current WaitHandle receives a signal. | |
| bool | WaitOne (string collectionID, int millisecondsTimeout, bool exitContext) |
| Blocks the current thread until the current WaitHandle receives a signal, using 32-bit signed integer to measure the time interval and specifying whether to exit the synchronization domain before the wait. | |
| bool | WaitOne (string collectionID, TimeSpan timeout, bool exitContext) |
| Blocks the current thread until the current instance receives a signal, using a TimeSpan to measure the time interval and specifying whether to exit the synchronization domain before the wait. | |
| Simias::Storage::LogMutex::LogMutex | ( | string | collectionID | ) | [inline] |
Initializes a new instance of the Mutex class with default properties.
| collectionID | Identifier of the collection associated with the log file. |
| Simias::Storage::LogMutex::LogMutex | ( | string | collectionID, | |
| bool | initiallyOwned | |||
| ) | [inline] |
Initializes a new instance of the Mutex class with a Boolean value indicating whether the calling thread should have initial ownership of the mutex.
| collectionID | Identifier of the collection associated with the log file. | |
| initiallyOwned | true to give the calling thread initial ownership of the mutex; otherwise, false. |
| void Simias::Storage::LogMutex::Close | ( | string | collectionID | ) | [inline] |
Releases all resources held by the current WaitHandle.
| collectionID | Identifier of the collection associated with the log file. |
| void Simias::Storage::LogMutex::ReleaseMutex | ( | string | collectionID | ) | [inline] |
Releases the mutex once.
| collectionID | Identifier of the collection associated with the log file. |
| bool Simias::Storage::LogMutex::WaitOne | ( | string | collectionID | ) | [inline] |
Blocks the current thread until the current WaitHandle receives a signal.
| collectionID | Identifier of the collection associated with the log file. |
| bool Simias::Storage::LogMutex::WaitOne | ( | string | collectionID, | |
| int | millisecondsTimeout, | |||
| bool | exitContext | |||
| ) | [inline] |
Blocks the current thread until the current WaitHandle receives a signal, using 32-bit signed integer to measure the time interval and specifying whether to exit the synchronization domain before the wait.
| collectionID | Identifier of the collection associated with the log file. | |
| millisecondsTimeout | The number of milliseconds to wait, or Timeout.Infinite (-1) to wait indefinitely. | |
| exitContext | true to exit the synchronization domain for the context before the wait (if in a synchronized context), and reacquire it; otherwise, false. |
| bool Simias::Storage::LogMutex::WaitOne | ( | string | collectionID, | |
| TimeSpan | timeout, | |||
| bool | exitContext | |||
| ) | [inline] |
Blocks the current thread until the current instance receives a signal, using a TimeSpan to measure the time interval and specifying whether to exit the synchronization domain before the wait.
| collectionID | Identifier of the collection associated with the log file. | |
| timeout | The number of milliseconds to wait, or a TimeSpan that represents -1 milliseconds to wait indefinitely. | |
| exitContext | true to exit the synchronization domain for the context before the wait (if in a synchronized context), and reacquire it; otherwise, false. |
1.5.6