diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-09-04 19:48:12 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-09-04 19:48:12 +0000 |
commit | bff3b547d5351491eed23f1abd57b23b9dda1636 (patch) | |
tree | 18431585f4ae9bc09d50ad820c56c4085f7f2184 /ace/Process.i | |
parent | 5adb4271d93b73ad6938b8dd1737a796440c2b2d (diff) | |
download | ATCD-bff3b547d5351491eed23f1abd57b23b9dda1636.tar.gz |
ChangeLogTag:Sat Sep 4 14:43:36 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
Diffstat (limited to 'ace/Process.i')
-rw-r--r-- | ace/Process.i | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/ace/Process.i b/ace/Process.i index cdb3653a154..d5601a0d645 100644 --- a/ace/Process.i +++ b/ace/Process.i @@ -11,7 +11,7 @@ ACE_Process::process_info (void) #endif /* ACE_WIN32 */ ACE_INLINE ACE_HANDLE -ACE_Process::gethandle (void) +ACE_Process::gethandle (void) const { #if defined (ACE_WIN32) return process_info_.hProcess; @@ -22,6 +22,7 @@ ACE_Process::gethandle (void) ACE_INLINE pid_t ACE_Process::getpid (void) + const { #if defined (ACE_WIN32) return process_info_.dwProcessId; @@ -31,7 +32,7 @@ ACE_Process::getpid (void) } ACE_INLINE pid_t -ACE_Process::wait (int *status, +ACE_Process::wait (ACE_exitcode *status, int wait_options) { return ACE_OS::wait (this->getpid (), @@ -52,6 +53,18 @@ ACE_Process::terminate (void) return ACE::terminate_process (this->getpid ()); } +ACE_INLINE int +ACE_Process::exit_code (void) const +{ + return this->exit_code_; +} + +ACE_INLINE void +ACE_Process::exit_code (int code) +{ + this->exit_code_ = code; +} + ACE_INLINE u_long ACE_Process_Options::creation_flags (void) const { |