diff options
author | Steve Huston <shuston@riverace.com> | 2002-09-02 20:44:33 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2002-09-02 20:44:33 +0000 |
commit | 3a96176545585ea7e860d795deddaa45ef6fc553 (patch) | |
tree | 6f08fc5c2286e1504fb3446dbd1c48ca1819f599 /ace/Process_Mutex.h | |
parent | 407122a9862a81e005c658d5ea7a8f9673c54005 (diff) | |
download | ATCD-3a96176545585ea7e860d795deddaa45ef6fc553.tar.gz |
ChangeLogTag:Mon Sep 2 13:17:26 2002 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'ace/Process_Mutex.h')
-rw-r--r-- | ace/Process_Mutex.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/ace/Process_Mutex.h b/ace/Process_Mutex.h index 35dd63e197a..3ee0cb38236 100644 --- a/ace/Process_Mutex.h +++ b/ace/Process_Mutex.h @@ -71,9 +71,12 @@ public: * @param arg optional, attributes to be used to initialize the mutex. * If using @c ACE_SV_Semaphore_Complex as the underlying mechanism, * this argument is ignored. + * @param mode optional, the protection mode for either the backing store + * file (for ACE_Mutex use) or the ACE_SV_Semaphore_Complex that's created. */ ACE_Process_Mutex (const char *name = 0, - void *arg = 0); + void *arg = 0, + mode_t mode = ACE_DEFAULT_FILE_PERMS); #if defined (ACE_HAS_WCHAR) /** @@ -87,9 +90,12 @@ public: * @param arg optional, attributes to be used to initialize the mutex. * If using @c ACE_SV_Semaphore_Complex as the underlying mechanism, * this argument is ignored. + * @param mode optional, the protection mode for either the backing store + * file (for ACE_Mutex use) or the ACE_SV_Semaphore_Complex that's created. */ ACE_Process_Mutex (const wchar_t *name, - void *arg = 0); + void *arg = 0, + mode_t mode = ACE_DEFAULT_FILE_PERMS); #endif /* ACE_HAS_WCHAR */ ~ACE_Process_Mutex (void); |