diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-07-20 14:34:42 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-07-20 14:34:42 +0000 |
commit | d3cbcabf89f63c9f1c17e0d8697474cd330b58d5 (patch) | |
tree | 7e32302a92f8ac4f89ba5aa70d9510372fd2b79d /ace/OS.i | |
parent | 1070fb705c7036c8e65e2ca901443a636b7e55fd (diff) | |
download | ATCD-d3cbcabf89f63c9f1c17e0d8697474cd330b58d5.tar.gz |
ChangeLogTag: Tue Jul 20 09:33:02 1999 David L. Levine <levine@cs.wustl.edu>
Diffstat (limited to 'ace/OS.i')
-rw-r--r-- | ace/OS.i | 21 |
1 files changed, 8 insertions, 13 deletions
@@ -6753,19 +6753,14 @@ ACE_OS::sigwait (sigset_t *set, int *sig) // signal number is returned). *sig = ::sigwait (set, 0); return *sig; -# elif defined (DIGITAL_UNIX) -# if defined (__DECCXX_VER) - // DEC cxx (but not g++) needs this direct call to its internal - // sigwait (). This allows us to #undef sigwait, so that we can - // have ACE_OS::sigwait. cxx gets confused by ACE_OS::sigwait if - // sigwait is _not_ #undef'ed. - errno = ::_Psigwait (set, sig); - return errno == 0 ? *sig : -1; -# else /* g++, for example, on DIGITAL_UNIX */ - *sig = ::__sigwaitd10 (set, sig); - return errno == 0 ? *sig : -1; -# endif /* g++, for example, on DIGITAL_UNIX */ -# else /* ! __Lynx __ && ! DIGITAL_UNIX */ +# elif defined (DIGITAL_UNIX) && defined (__DECCXX_VER) + // DEC cxx (but not g++) needs this direct call to its internal + // sigwait (). This allows us to #undef sigwait, so that we can + // have ACE_OS::sigwait. cxx gets confused by ACE_OS::sigwait + // if sigwait is _not_ #undef'ed. + errno = ::_Psigwait (set, sig); + return errno == 0 ? *sig : -1; +# else /* ! __Lynx __ && ! (DIGITAL_UNIX && __DECCXX_VER) */ # if (defined (ACE_HAS_PTHREADS_DRAFT4) || (defined (ACE_HAS_PTHREADS_DRAFT6)) && !defined(ACE_HAS_FSU_PTHREADS)) || (defined (_UNICOS) && _UNICOS == 9) *sig = ::sigwait (set); return *sig; |