httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: #ifdef MULTITHREAD in 1.3.9
Date Mon, 20 Dec 1999 22:16:17 GMT
Ryan Bloom wrote:
> 
> > > We assume that none of the threads should die. I need to look at the code to
> > > be sure, but I think if a thread exits, it will cause the entire child
> > > process to exit (and be restarted by the parent).
> >
> > Oh, I see.  That'd be a Win32-specific detail that I was unaware of.
> > If true then this approach makes sense.  Thanks.
> 
> I think for the most part, we assume on all platforms that if a thread
> exits for an unknown reason, the whole process will be going down.  The
> only real reason for a thread to die unexpectedly, is a seg fault, and
> that should take down the whole process.  The one OS I can think of where
> this isn't true, is Linux, because threads and processes are equivalent.

Not! They may share code like crazy, but they are not equivalent.

Cheers,

Ben.

--
SECURE HOSTING AT THE BUNKER! http://www.thebunker.net/hosting.htm

http://www.apache-ssl.org/ben.html

"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
     - Indira Gandhi

Mime
View raw message