diff options
author | mcorino <mcorino@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2012-11-06 10:03:41 +0000 |
---|---|---|
committer | mcorino <mcorino@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2012-11-06 10:03:41 +0000 |
commit | 20b29ae1fa6ffc68925ed0bfe835869c3bfa9244 (patch) | |
tree | 98db44417a794deb9486461f539926379fd14553 /ACE/ace/OS_NS_Thread.h | |
parent | 3662912771044ad0db1c43355df25f1fe5b224ca (diff) | |
download | ATCD-20b29ae1fa6ffc68925ed0bfe835869c3bfa9244.tar.gz |
ChangelogTag: Tue Nov 6 10:55:47 UTC 2012 Martin Corino <mcorino@remedy.nl>
Diffstat (limited to 'ACE/ace/OS_NS_Thread.h')
-rw-r--r-- | ACE/ace/OS_NS_Thread.h | 46 |
1 files changed, 45 insertions, 1 deletions
diff --git a/ACE/ace/OS_NS_Thread.h b/ACE/ace/OS_NS_Thread.h index e6aaee61bba..ba74228102b 100644 --- a/ACE/ace/OS_NS_Thread.h +++ b/ACE/ace/OS_NS_Thread.h @@ -1086,6 +1086,9 @@ namespace ACE_OS { int type = ACE_DEFAULT_SYNCH_TYPE); ACE_NAMESPACE_INLINE_FUNCTION + int condattr_synctype (ACE_condattr_t &attributes, int& type); + + ACE_NAMESPACE_INLINE_FUNCTION int condattr_destroy (ACE_condattr_t &attributes); ACE_NAMESPACE_INLINE_FUNCTION @@ -1184,7 +1187,7 @@ namespace ACE_OS { extern ACE_Export int event_destroy (ACE_event_t *event); - extern ACE_Export + ACE_NAMESPACE_INLINE_FUNCTION int event_init (ACE_event_t *event, int manual_reset = 0, int initial_state = 0, @@ -1193,6 +1196,16 @@ namespace ACE_OS { void *arg = 0, LPSECURITY_ATTRIBUTES sa = 0); + extern ACE_Export + int event_init (ACE_event_t *event, + int type, + ACE_condattr_t *attributes, + int manual_reset = 0, + int initial_state = 0, + const char *name = 0, + void *arg = 0, + LPSECURITY_ATTRIBUTES sa = 0); + # if defined (ACE_HAS_WCHAR) ACE_NAMESPACE_INLINE_FUNCTION int event_init (ACE_event_t *event, @@ -1202,6 +1215,16 @@ namespace ACE_OS { const wchar_t *name, void *arg = 0, LPSECURITY_ATTRIBUTES sa = 0); + + ACE_NAMESPACE_INLINE_FUNCTION + int event_init (ACE_event_t *event, + int type, + ACE_condattr_t *attributes, + int manual_reset, + int initial_state, + const wchar_t *name, + void *arg = 0, + LPSECURITY_ATTRIBUTES sa = 0); # endif /* ACE_HAS_WCHAR */ extern ACE_Export @@ -1421,6 +1444,16 @@ namespace ACE_OS { int max = 0x7fffffff, LPSECURITY_ATTRIBUTES sa = 0); + ACE_NAMESPACE_INLINE_FUNCTION + int sema_init (ACE_sema_t *s, + u_int count, + int type, + ACE_condattr_t *attributes, + const char *name = 0, + void *arg = 0, + int max = 0x7fffffff, + LPSECURITY_ATTRIBUTES sa = 0); + # if defined (ACE_HAS_WCHAR) ACE_NAMESPACE_INLINE_FUNCTION int sema_init (ACE_sema_t *s, @@ -1430,6 +1463,16 @@ namespace ACE_OS { void *arg = 0, int max = 0x7fffffff, LPSECURITY_ATTRIBUTES sa = 0); + + ACE_NAMESPACE_INLINE_FUNCTION + int sema_init (ACE_sema_t *s, + u_int count, + int type, + ACE_condattr_t *attributes, + const wchar_t *name, + void *arg = 0, + int max = 0x7fffffff, + LPSECURITY_ATTRIBUTES sa = 0); # endif /* ACE_HAS_WCHAR */ ACE_NAMESPACE_INLINE_FUNCTION @@ -1833,6 +1876,7 @@ ACE_BEGIN_VERSIONED_NAMESPACE_DECL class ACE_Export ACE_event_t { friend int ACE_OS::event_init(ACE_event_t*, int, int, int, const char*, void*,int); + friend int ACE_OS::event_init(ACE_event_t*, int, ACE_condattr_t*, int, int, const char*, void*,int); friend int ACE_OS::event_destroy(ACE_event_t*); friend int ACE_OS::event_wait(ACE_event_t*); friend int ACE_OS::event_timedwait(ACE_event_t*, ACE_Time_Value*, int); |