apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From makl <abcdefghijklmn...@gmx.net>
Subject [PATCH] apr_thread_join doesn't work on Windows if the thread is already terminated
Date Tue, 06 Apr 2004 18:04:55 GMT
* 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.


Mime
View raw message