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