diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-08-22 02:50:50 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-08-22 02:50:50 +0000 |
commit | 2939ea8307c174e86a64e17a09377123781e531a (patch) | |
tree | 539bc154839cf06de0c74b8b145ff21ffb290728 /ace/OS.i | |
parent | 186277a681a6175cc57ef34be5a58a0a181cc128 (diff) | |
download | ATCD-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.i | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 (); } + |