[Issue 971] No profiling output is generated if the application terminates with exit
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Aug 10 08:58:31 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=971
------- Comment #6 from sean at f4.ca 2007-08-10 10:58 -------
That's the most straightforward approach. Unfortunately, it only works when
done in the main program thread. An alternate, evil approach would be to
suspend all threads, manually call the runtime cleanup routines, and then call
C exit(). The safest would probably be for the runtime to register its cleanup
routines using _atexit() or the equivalent so C exit() can be called.
--
More information about the Digitalmars-d-bugs
mailing list