Hi,
as documented, apr_os_thread_current() returns the id for the current thread.
The WIN32 version calls GetCurrentThread(). GetCurrentThread returns a pseudo handle for the current thread, not the id.
GetCurrentThreadId() returns the id.
APACHE PORTABLE RUNTIME (APR) LIBRARY STATUS:
Last modified at [$Date: 2002/08/22 20:16:23 $]
Regards,
Marcel
- Re: bug in apr_os_thread_current ? Marcel . Mann
- Re: bug in apr_os_thread_current ? William A. Rowe, Jr.
- Re: bug in apr_os_thread_current ? Justin Erenkrantz
- Re: bug in apr_os_thread_current ? Aaron Bannert
- Re: bug in apr_os_thread_current ? William A. Rowe, Jr.
