diff options
author | gmaxey <gmaxey@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-01-23 17:40:02 +0000 |
---|---|---|
committer | gmaxey <gmaxey@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-01-23 17:40:02 +0000 |
commit | f6af7acd21ac855495456cf7dd2f3efa72df2086 (patch) | |
tree | dac44674a88de416307ce50f9b11af0e3377539c /ace/OS_NS_unistd.inl | |
parent | 0e99e41056feab92f23c5c827bfed8a104fdcbdf (diff) | |
download | ATCD-f6af7acd21ac855495456cf7dd2f3efa72df2086.tar.gz |
ChangeLogTag: Fri Jan 23 09:34:00 2004 Gary Maxey <gary.maxey@hp.com>
Diffstat (limited to 'ace/OS_NS_unistd.inl')
-rw-r--r-- | ace/OS_NS_unistd.inl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ace/OS_NS_unistd.inl b/ace/OS_NS_unistd.inl index 27b72f552ac..32cf321452a 100644 --- a/ace/OS_NS_unistd.inl +++ b/ace/OS_NS_unistd.inl @@ -1041,7 +1041,11 @@ ACE_OS::sleep (const ACE_Time_Value &tv) // Copy the timeval, because this platform doesn't declare the timeval // as a pointer to const. timeval tv_copy = tv; - ACE_OSCALL_RETURN (::select (0, 0, 0, 0, &tv_copy), int, -1); +# if defined(ACE_TANDEM_T1248_PTHREADS) + ACE_OSCALL_RETURN (::spt_select (0, 0, 0, 0, &tv_copy), int, -1); +# else + ACE_OSCALL_RETURN (::select (0, 0, 0, 0, &tv_copy), int, -1); +# endif # else /* ! ACE_HAS_NONCONST_SELECT_TIMEVAL */ const timeval *tvp = tv; ACE_OSCALL_RETURN (::select (0, 0, 0, 0, tvp), int, -1); |