diff options
Diffstat (limited to 'ace/OS_NS_sys_wait.h')
-rw-r--r-- | ace/OS_NS_sys_wait.h | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/ace/OS_NS_sys_wait.h b/ace/OS_NS_sys_wait.h index 5fccad22916..58113c7d5b1 100644 --- a/ace/OS_NS_sys_wait.h +++ b/ace/OS_NS_sys_wait.h @@ -33,20 +33,23 @@ #endif #define ACE_EXPORT_MACRO ACE_Export -namespace ACE_OS { +ACE_BEGIN_VERSIONED_NAMESPACE_DECL - /// Calls OS <::wait> function, so it's only portable to UNIX/POSIX +namespace ACE_OS +{ + + /// Calls OS @c ::wait function, so it's only portable to UNIX/POSIX /// platforms. ACE_NAMESPACE_INLINE_FUNCTION pid_t wait (int * = 0); /** - * Calls <::WaitForSingleObject> on Win32 and <ACE::waitpid> - * otherwise. Returns the passed in <pid_t> on success and -1 on + * Calls @c ::WaitForSingleObject on Win32 and ACE::waitpid () + * otherwise. Returns the passed in @a pid_t on success and -1 on * failure. - * On Win32, <pid> is ignored if the <handle> is not equal to 0. - * Passing the process <handle> is prefer on Win32 because using - * <pid> to wait on the project doesn't always work correctly + * On Win32, @a pid is ignored if the @a handle is not equal to 0. + * Passing the process @a handle is prefer on Win32 because using + * @a pid to wait on the project doesn't always work correctly * if the waited process has already terminated. */ ACE_NAMESPACE_INLINE_FUNCTION @@ -56,11 +59,11 @@ namespace ACE_OS { ACE_HANDLE handle = 0); /** - * Calls <::waitpid> on UNIX/POSIX platforms and <::await> on - * Chorus. Does not work on Vxworks, or pSoS. - * On Win32, <pid> is ignored if the <handle> is not equal to 0. - * Passing the process <handle> is prefer on Win32 because using - * <pid> to wait on the project doesn't always work correctly + * Calls @c ::waitpid on UNIX/POSIX platforms and @c ::await on + * Chorus. Does not work on Vxworks 5.5.x, or pSoS. + * On Win32, @a pid is ignored if the @a handle is not equal to 0. + * Passing the process @a handle is prefer on Win32 because using + * @a pid to wait on the project doesn't always work correctly * if the waited process has already terminated. */ ACE_NAMESPACE_INLINE_FUNCTION @@ -71,6 +74,8 @@ namespace ACE_OS { } /* namespace ACE_OS */ +ACE_END_VERSIONED_NAMESPACE_DECL + # if defined (ACE_HAS_INLINED_OSCALLS) # if defined (ACE_INLINE) # undef ACE_INLINE |