summaryrefslogtreecommitdiff
path: root/ace/Process.i
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-09-04 19:48:12 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-09-04 19:48:12 +0000
commitbff3b547d5351491eed23f1abd57b23b9dda1636 (patch)
tree18431585f4ae9bc09d50ad820c56c4085f7f2184 /ace/Process.i
parent5adb4271d93b73ad6938b8dd1737a796440c2b2d (diff)
downloadATCD-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.i17
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
{