You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2014/01/28 10:01:31 UTC
[Bug 45298] apr_os_thread_get() differs between windows and unix
when thread is detached
https://issues.apache.org/bugzilla/show_bug.cgi?id=45298
--- Comment #6 from Lars Diehl <la...@fiducia.de> ---
This issue still seems unresolved in the current APR version. When detached
threads are used in windows the apr_os_thread_current() causes a handle leak
for each thread created. For me it is not clear why the thread handle that
apr_os_thread_current() returns is duplicated inside the function.
The race condition in apr_thread_create() can cause handle leaks for
non-detached threads.
For us a fix for this issue is critical. We are facing handle leaks in our
code. In case we cannot get this fixed in APR we need to replace
apr_os_thread_current() and observe the race condition the threading
Joe provided a patch for this issue 5 years ago. Is somebody taking care of
these requests?
This issue seems to be a duplicate of bug 42728.
What would be the preferred way to get this fixed in APR trunk, 1.5 and 1.4?
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org