|
|
|
|
|
|
|
|
|
|
|
|||||||
#include <winstl_process_mutex.h>
Public Methods | |
Construction | |
| process_mutex () winstl_throw_0() | |
| Creates an instance of the mutex. | |
| process_mutex (ws_char_a_t const *name) winstl_throw_0() | |
| Creates an instance of the mutex. | |
| process_mutex (ws_char_w_t const *name) winstl_throw_0() | |
| Creates an instance of the mutex. | |
| process_mutex (ws_bool_t bInitialOwer) winstl_throw_0() | |
| Creates an instance of the mutex. | |
| process_mutex (ws_char_a_t const *name, ws_bool_t bInitialOwer) winstl_throw_0() | |
| Creates an instance of the mutex. | |
| process_mutex (ws_char_w_t const *name, ws_bool_t bInitialOwer) winstl_throw_0() | |
| Creates an instance of the mutex. | |
| process_mutex (ws_char_a_t const *name, ws_bool_t bInitialOwer, LPSECURITY_ATTRIBUTES psa) winstl_throw_0() | |
| Creates an instance of the mutex. | |
| process_mutex (ws_char_w_t const *name, ws_bool_t bInitialOwer, LPSECURITY_ATTRIBUTES psa) winstl_throw_0() | |
| Creates an instance of the mutex. | |
| ~process_mutex () winstl_throw_0() | |
| Destroys an instance of the mutex. | |
Operations | |
| void | lock () winstl_throw_0() |
| Acquires a lock on the mutex, pending the thread until the lock is aquired. | |
| ws_bool_t | lock (ws_dword_t wait) winstl_throw_0() |
| Acquires a lock on the mutex, pending the thread until the lock is aquired. | |
| ws_bool_t | try_lock () |
| Attempts to lock the mutex. | |
| void | unlock () winstl_throw_0() |
| Releases an aquired lock on the mutex. | |
Accessors | |
Attributes | |
| ws_bool_t | created () const |
| Indicates whether this object instance created the underlying mutex object. | |
| ws_bool_t | abandoned () const |
| Indicates whether a successful call to lock occurred because the underlying mutex was previously held by a thread that abandoned. | |
|
|
Creates an instance of the mutex.
|
|
|
Creates an instance of the mutex.
|
|
|
Creates an instance of the mutex.
|
|
|
Creates an instance of the mutex.
|
|
||||||||||||
|
Creates an instance of the mutex.
|
|
||||||||||||
|
Creates an instance of the mutex.
|
|
||||||||||||||||
|
Creates an instance of the mutex.
|
|
||||||||||||||||
|
Creates an instance of the mutex.
|
|
|
Destroys an instance of the mutex.
|
|
|
Indicates whether a successful call to lock occurred because the underlying mutex was previously held by a thread that abandoned.
|
|
|
Indicates whether this object instance created the underlying mutex object.
|
|
|
Acquires a lock on the mutex, pending the thread until the lock is aquired.
|
|
|
Acquires a lock on the mutex, pending the thread until the lock is aquired.
|
|
|
Attempts to lock the mutex.
|
|
|
Releases an aquired lock on the mutex.
|
|
|
| STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004 |