#include <Process_Semaphore.h>
Public Member Functions | |
| ACE_Process_Semaphore * | operator() (const ACE_TCHAR *name) |
This is needed since the ctor for ACE_Process_Semaphore doesn't match the standard form used by other lock strategy classes.
Definition at line 154 of file Process_Semaphore.h.
|
|
Definition at line 104 of file Process_Semaphore.cpp. References ACE_DIRECTORY_SEPARATOR_CHAR, ACE_NEW_RETURN, and ACE_TCHAR.
00105 {
00106 ACE_Process_Semaphore *p = 0;
00107 if (name == 0)
00108 ACE_NEW_RETURN (p, ACE_Process_Semaphore (1, name), 0);
00109 else
00110 ACE_NEW_RETURN (p, ACE_Process_Semaphore (1, ACE::basename (name,
00111 ACE_DIRECTORY_SEPARATOR_CHAR)),
00112 0);
00113 return p;
00114 }
|
1.3.6