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: [Resend] Re: apr_os_thread_get() weirdness on Win32
Date Thu, 26 Dec 2002 01:41:23 GMT
At 10:33 AM 12/24/2002, INOUE Seiichiro wrote:
>This is an old story.
>I would like to make it clear.
>When we need the Win32 thread handle from libapr, the following code is a proper code?
>apr_thread_t *thd;
>apr_os_thread_get((apr_os_thread_t**)&h, thd);

Hes, it should be.  And the cast should be unnecessary ... if it is,
we have a bug.

On win32, apr_thread_t should be a HANDLE already.


View raw message