#include "ace/config-all.h"#include "ace/os_include/sys/os_wait.h"#include "ace/ACE_export.h"#include "ace/OS_NS_sys_wait.inl"Include dependency graph for OS_NS_sys_wait.h:

This graph shows which files directly or indirectly include this file:

Namespaces | |
| namespace | ACE_OS |
Defines | |
| #define | ACE_EXPORT_MACRO ACE_Export |
| #define | ACE_INLINE inline |
Functions | |
| ACE_NAMESPACE_INLINE_FUNCTION pid_t | wait (int *=0) |
| ACE_NAMESPACE_INLINE_FUNCTION pid_t | wait (pid_t pid, ACE_exitcode *status, int wait_options=0, ACE_HANDLE handle=0) |
| ACE_NAMESPACE_INLINE_FUNCTION pid_t | waitpid (pid_t pid, ACE_exitcode *status=0, int wait_options=0, ACE_HANDLE handle=0) |
Jesper S. M|ller<stophph@diku.dk>
and a cast of thousands...
|
|
|
|
|
|
|
||||||||||||||||||||
|
Calls <::WaitForSingleObject> on Win32 and <ACE::waitpid> otherwise. Returns the passed in <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 if the waited process has already terminated. |
|
|
Calls OS <wait> function, so it's only portable to UNIX/POSIX platforms. |
|
||||||||||||||||||||
|
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 if the waited process has already terminated. |
1.3.9.1