diff options
Diffstat (limited to 'ace/Process_Semaphore.h')
-rw-r--r-- | ace/Process_Semaphore.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/ace/Process_Semaphore.h b/ace/Process_Semaphore.h index a9ae74a92cd..51c632b61d6 100644 --- a/ace/Process_Semaphore.h +++ b/ace/Process_Semaphore.h @@ -9,12 +9,10 @@ * Wrapper for Dijkstra style general semaphores that work * across processes. * - * - * @author Doug Schmidt + * @author Douglas C. Schmidt <schmidt@cs.wustl.edu> */ //============================================================================= - #ifndef ACE_PROCESS_SEMAPHORE_H #define ACE_PROCESS_SEMAPHORE_H #include /**/ "ace/pre.h" @@ -47,6 +45,12 @@ public: void * = 0, int max = 0x7FFFFFFF); + /// Initialize the semaphore, with an initial value of 1 and a + /// maximum value of <max>. + ACE_Process_Semaphore (const ACE_TCHAR *name, + void * = 0, + int max = 0x7FFFFFFF); + /** * This method is a no-op, i.e., it doesn't remove the semaphore. * If you want to remove the semaphore, you must call the <remove> |