Subj : Re: winXP/2k: ExitProcess() & atexit with multiple threads? To : comp.programming.threads From : David Schwartz Date : Wed Feb 16 2005 06:06 am "Mile Blenton" wrote in message news:cuvhqb$kpl$1@ls219.htnet.hr... > David Schwartz wrote: > >> Neither behavior is required or more correct, as far as I can tell. >> If >> you want 'atexit' functions to be run, why not call 'exit'? >> > > ExitProcess() notifies DLLs attached to my prg about process being > terminated. I'm not sure 'exit' can do the same. Umm, of course it does. If it didn't, there would be serious problems with all ANSI-compliant code (which can only call 'exit'). DS .