[prev in list] [next in list] [prev in thread] [next in thread]
List: apr-cvs
Subject: svn propchange: r1884077 - svn:log
From: ylavic () apache ! org
Date: 2020-12-03 21:28:30
Message-ID: 20201203212831.2CDAA17A1D9 () svn01-us-east ! apache ! org
[Download RAW message or body]
Author: ylavic
Revision: 1884077
Modified property: svn:log
Modified: svn:log at Thu Dec 3 21:28:30 2020
------------------------------------------------------------------------------
--- svn:log (original)
+++ svn:log Thu Dec 3 21:28:30 2020
@@ -1,10 +1,10 @@
-apr_thread: destroy the thread's pool at join() time, unless detached.
+apr_thread: destroy the thread's pool at _join() time, unless _detach()ed.
Destroying a joinable thread pool from apr_thread_exit() or when the thread
-function returns (i.e. from inside the thread itself) is racy, or deadlocky
-with APR_POOL_DEBUG, with the parent pool is being destroyed.
+function returns, i.e. from inside the thread itself, is racy or deadlocky
+with APR_POOL_DEBUG, with the parent pool being destroyed.
This commit adds a ->detached flag in each arch's apr_thread_t struct to track
whether a thread is detached (either at _create() or _detach() time). If
-detached, it's pool is destroyed when the thread exits, otherwise when the
+detached, the pool is destroyed when the thread exits, otherwise when the
thread is joined with apr_thread_join().
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic