Subj : Re: Main thread going away but worker threads executing? To : comp.programming.threads From : Ian Date : Tue Jul 19 2005 04:55 pm David Schwartz wrote: > "Ian" wrote in message > news:1121730205.316420@drone2-svc-skyt.qsi.net.nz... > > >>David Schwartz wrote: > > >>> The C language has no support for threads. But every threading >>>standard I know of implements fully symettric threads where the "main >>>thread" is in no way special. > > >>Except on every UNIX/Linux implementation I've used, a return (rather than >>a call to pthread_exit) from main exits the process. > > > As does a call to 'exit'. But that's not because anything is special > about the thread that's running 'main', it's because returning from 'main' > calls 'exit', just as it does in a single-threaded process. > Isn't the fact that returning from one thread calls exit while returning from another does not make it special? If not special, then at least different :) Ian .