diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 2004-07-01 14:03:24 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 2004-07-01 14:03:24 +0000 |
commit | d61d5c5fbd76a4cd00680e31d98edb11bee0316e (patch) | |
tree | 92910c6a6a8f3696c23cd8c23191845704e4b4d4 | |
parent | c1c3e16664244cdf43d76e925aaff04eec3ebe1a (diff) | |
download | ATCD-d61d5c5fbd76a4cd00680e31d98edb11bee0316e.tar.gz |
ChangeLogTag:Thu Jul 1 07:54:11 2004 Douglas C. Schmidt <schmidt@cs.wustl.edu>
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | THANKS | 1 | ||||
-rw-r--r-- | ace/OS_NS_Thread.cpp | 2 | ||||
-rw-r--r-- | ace/OS_NS_Thread.inl | 10 |
4 files changed, 11 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog index 23ca052f97f..11dda2de09e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +Thu Jul 1 07:54:11 2004 Douglas C. Schmidt <schmidt@cs.wustl.edu> + + * ace/OS_NS_Thread.inl: Changed the thr_min_stack() wrapper method + so it just calls the underlying OS function without using + ACE_ADAPT_RETVAL. Thanks to Mattias Nilsson + <mattias.o.nilsson@ericsson.com> for reporting this bug and + providing a fix. + Thu Jul 1 09:42:12 UTC 2004 Johnny Willemsen <jwillemsen@remedy.nl> * html/index.html: @@ -1900,6 +1900,7 @@ Theckla Louchios<theckla dot louchios at lmco dot com> Randy Secrest <secrest at ieee dot org> Patrice Marques <simu dot dcnruelle at wanadoo dot fr> Stanislaw Trytek <tryteks at pit dot edu dot pl> +Mattias Nilsson <mattias dot o dot nilsson at ericsson dot com> I would particularly like to thank Paul Stephenson, who worked with me at Ericsson in the early 1990's. Paul devised the recursive Makefile diff --git a/ace/OS_NS_Thread.cpp b/ace/OS_NS_Thread.cpp index 8a0acb79588..a72f93291b4 100644 --- a/ace/OS_NS_Thread.cpp +++ b/ace/OS_NS_Thread.cpp @@ -1,11 +1,9 @@ #include "ace/OS_NS_Thread.h" - ACE_RCSID (ace, OS_NS_Thread, "$Id$") - #if !defined (ACE_HAS_INLINED_OSCALLS) # include "ace/OS_NS_Thread.inl" #endif /* ACE_HAS_INLINED_OS_CALLS */ diff --git a/ace/OS_NS_Thread.inl b/ace/OS_NS_Thread.inl index eb47640a9ba..f71b7a03a02 100644 --- a/ace/OS_NS_Thread.inl +++ b/ace/OS_NS_Thread.inl @@ -4039,15 +4039,9 @@ ACE_OS::thr_min_stack (void) # if defined (ACE_HAS_STHREADS) # if defined (ACE_HAS_THR_MINSTACK) // Tandem did some weirdo mangling of STHREAD names... - int result; - ACE_OSCALL_RETURN (ACE_ADAPT_RETVAL (::thr_minstack (), - result), - int, -1); + return ::thr_minstack (); # else - int result; - ACE_OSCALL_RETURN (ACE_ADAPT_RETVAL (::thr_min_stack (), - result), - int, -1); + return ::thr_min_stack (); # endif /* !ACE_HAS_THR_MINSTACK */ # elif defined (ACE_HAS_PTHREADS) # if defined (_SC_THREAD_STACK_MIN) |