apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@apache.org>
Subject Re: bug in apr_os_thread_current ?
Date Fri, 22 Nov 2002 12:51:21 GMT
Agreed that it is a bug.  The question is whether it even makes sense
to use the thread handle or thread ID.

Who is using apr_os_thread_current() and if so, what are you plugging
it into?

At 10:34 AM 11/21/2002, Marcel.Mann@dbaudio.com wrote:

>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 


Mime
View raw message