You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/04/19 08:05:32 UTC

DO NOT REPLY [Bug 28460] - apr_thread_join fails if the thread is already terminated

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28460>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=28460

apr_thread_join fails if the thread is already terminated

abcdefghijklmnopq@gmx.net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |PatchAvailable



------- Additional Comments From abcdefghijklmnopq@gmx.net  2004-04-19 06:04 -------
Changes included in the following patch:

* include/arch/win32/apr_arch_threadproc.h
  (apr_thread_t): New status variable to indicate a terminated thread

* test/testatomic.c
  (test_atomics_threaded): Check the return code from apr_thread_join

* threadproc/win32/thread.c
  (apr_thread_create): Initialize the status variable
  (apr_thread_exit): Set the terminated status if the thread is not detached
  (apr_thread_join): If the wait fails, look whether the thread was already
  terminated.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org