httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Stoddard <stodd...@raleigh.ibm.com>
Subject Re: APR: detached threads?
Date Mon, 07 Jun 1999 14:56:04 GMT
Ryan Bloom wrote:
> 
> > Going by Ralf's explanation, OS/2 kernel threads are always detached. If
> > there's a need for threads to be able to pass a return value back to their
> > parents I can implement that in APR with an extra layer.
> >
> 
> I have just started Windows programming, so I only really know Posix
> threads.  If Os/2 (and windows?) threads are always detached, is it
> possible for other threads in the same process to know when a certain
> thread has exited?
In Win32, yes, by waiting on the thread handles with
WaitForMultipleObjects. You can determine exactly which thread exited.  
> 
> It would be really nice to allow threads to return a value, so that we can
> monitor why the thread has exited.  It is not absolutely necessary right
> away.  If you have other parts of APR that need your attention more
> urgently, I would suggest putting it off.  It won't be used in the first
> apache-hybrid release anyway.  It should be done sometime though.
> 
> Ryan
> 
> _______________________________________________________________________
> Ryan Bloom              rbb@raleigh.ibm.com
> 4205 S Miami Blvd
> RTP, NC 27709           It's a beautiful sight to see good dancers
>                         doing simple steps.  It's a painful sight to
>                         see beginners doing complicated patterns.

-- 
Bill Stoddard
stoddard@raleigh.ibm.com

Mime
View raw message