summaryrefslogtreecommitdiff
path: root/ace/OS.i
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-08-22 02:50:50 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-08-22 02:50:50 +0000
commit2939ea8307c174e86a64e17a09377123781e531a (patch)
tree539bc154839cf06de0c74b8b145ff21ffb290728 /ace/OS.i
parent186277a681a6175cc57ef34be5a58a0a181cc128 (diff)
downloadATCD-2939ea8307c174e86a64e17a09377123781e531a.tar.gz
ChangeLogTag:Sat Aug 21 12:36:40 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
Diffstat (limited to 'ace/OS.i')
-rw-r--r--ace/OS.i11
1 files changed, 10 insertions, 1 deletions
diff --git a/ace/OS.i b/ace/OS.i
index 67469de540c..db0e4063a57 100644
--- a/ace/OS.i
+++ b/ace/OS.i
@@ -12046,6 +12046,14 @@ ACE_OS::getuid (void)
# endif /* VXWORKS */
}
+ACE_INLINE ACE_EXIT_HOOK
+ACE_OS::set_exit_hook (ACE_EXIT_HOOK exit_hook)
+{
+ ACE_EXIT_HOOK old_hook = exit_hook_;
+ exit_hook_ = exit_hook;
+ return old_hook;
+}
+
ACE_INLINE int
ACE_OS::isatty (ACE_HANDLE handle)
{
@@ -12212,5 +12220,6 @@ ACE_Countdown_Time::stop (void)
ACE_INLINE int
ACE_Countdown_Time::update (void)
{
- return (this->stop () == 0) && this->start ();
+ return this->stop () == 0 && this->start ();
}
+