Touch Dreams

New Post @ touchdreams.net/blog: Thread Cleanup Handlers, exit(), _exit(), atexit(), and pthread_exit()

Saturday Jan 03, 2009

This new post at touchdreams.net/blog describes what happens when a multi-threaded process is shutting down, what are the differences between exit(), _exit() and pthread_exit(), when and what cleanup routines will be called. Shutting down a multi-threaded application gracefully and cleanly is a challenging task. Sometimes you do not even want to do that, but you still need to know what are happening during the shutdown.

[9] Comments
Like this post? del.icio.us | furl | slashdot | technorati | digg