apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@gmail.com>
Subject Re: Threads Best Practices
Date Thu, 14 Oct 2004 20:02:13 GMT
On Sun, 10 Oct 2004 09:12:53 +0200, Dror Shilo <dror.shilo@ericom.com> wrote:
> > Incidentally, will "apr_os_thread_current( )" work on all platforms
> > (specifically, Linux and Win32)?  Am I understanding this correctly to mean
> > that the function works on all platforms, but the return value is
> > platform-specific?
> 
> I cast it to integer , it is a unique number for the current process

I'm sure all your z/OS users will be complaining since pthread_t is a
structure there so apr_os_thread_current() won't return a scalar ;)

Mime
View raw message