diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2004-04-15 03:34:11 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2004-04-15 03:34:11 +0000 |
commit | 22aa7709d9a996c9d8fe411dea2d0c3ce9830212 (patch) | |
tree | d218154f4e5438fdbd27971da89b5e59a36f0a1a /ace | |
parent | 57d11d317604fc4888c13a3a7461fe441d39f0e6 (diff) | |
download | ATCD-22aa7709d9a996c9d8fe411dea2d0c3ce9830212.tar.gz |
ChangeLogTag:Wed Apr 14 20:29:52 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'ace')
-rw-r--r-- | ace/OS_NS_Thread.cpp | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/ace/OS_NS_Thread.cpp b/ace/OS_NS_Thread.cpp index 3e1e3826121..0354d5a91c1 100644 --- a/ace/OS_NS_Thread.cpp +++ b/ace/OS_NS_Thread.cpp @@ -1,9 +1,10 @@ -// -*- C++ -*- -// $Id$ - #include "ace/OS_NS_Thread.h" -ACE_RCSID(ace, OS_NS_Thread, "$Id$") + +ACE_RCSID (ace, + OS_NS_Thread, + "$Id$") + #if !defined (ACE_HAS_INLINED_OSCALLS) # include "ace/OS_NS_Thread.inl" @@ -2450,7 +2451,7 @@ ACE_OS::thr_create (ACE_THR_FUNC func, # elif defined (ACE_HAS_PTHREADS_DRAFT6) result = ::pthread_attr_setschedpolicy (&attr, spolicy); # else /* draft 7 or std */ - ACE_ADAPT_RETVAL(::pthread_attr_setschedpolicy (&attr, spolicy), + (void) ACE_ADAPT_RETVAL(::pthread_attr_setschedpolicy (&attr, spolicy), result); # endif /* ACE_HAS_PTHREADS_DRAFT4 */ if (result != 0) @@ -2538,8 +2539,8 @@ ACE_OS::thr_create (ACE_THR_FUNC func, result = ::pthread_attr_setprio (&attr, sparam.sched_priority); # else /* this is draft 7 or std */ - ACE_ADAPT_RETVAL(::pthread_attr_setschedparam (&attr, &sparam), - result); + (void) ACE_ADAPT_RETVAL(::pthread_attr_setschedparam (&attr, &sparam), + result); # endif /* ACE_HAS_PTHREADS_DRAFT4, 6 */ if (result != 0) { @@ -3809,5 +3810,3 @@ extern "C" int __d10_sigwait (const sigset_t *set, int *sig) return 0; } #endif /* __DGUX && PTHREADS && _POSIX4A_DRAFT10_SOURCE */ - - |