333 Subj : Re: Main thread going away but worker threads executing? To : comp.programming.threads From : Ian Date : Sat Jul 23 2005 12:06 pm Duke Robillard wrote: > Ian wrote: > >> Isn't that what I said? >> >> main isn't any different form another thread, except for what happens >> when you return. > > > "main()" isn't a thread, it's a function. That's what DS is > trying to point out, I think. > > Of course, main() is being run by a thread, and you might argue > that thread is special because it's the only one running the main > function. Or, you could claim that's not really something special > about the thread itself, just the stack it's using. > Yes to both, it's amazing how these arguments can do round in circles when the protagonists miss the other's point! Ian . 0