apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 45298] apr_os_thread_get() differs between windows and unix when thread is detached
Date Wed, 29 Jan 2014 08:34:13 GMT

Lars Diehl <lars.diehl@fiducia.de> changed:

           What    |Removed                     |Added
  Attachment #31269|0                           |1
        is obsolete|                            |

--- Comment #11 from Lars Diehl <lars.diehl@fiducia.de> ---
Created attachment 31270
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31270&action=edit
Proposed Fix based on 1.4.8

I apologize - the proposal is based on APR Version 1.4.8 (which is the current
version we are using). So far I was unable to build any 1.5.X or trunk versions
on windows due to compilation errors.

The proposal contains two changes:

1. Start threads suspended in order to work around the race-condition when
saving the thread handle in apr_thread_create().

2. Use GetCurrentThread() API in apr_os_thread_current(). I'm not sure why in
the current implementation the handle is duplicated. Maybe I missed something

Fix: Added CREATE_SUSPENDED for the Windows-CE version.

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

View raw message