interesting thread issue at exit()



GDK registers an exit function to be called on normal process
termination. This function will be called from whatever thread calls
exit(2). However, the function is not thread safe, and if the thread
calling exit(2) is not the "main GUI thread", many nasty things can
happen.

This is not fixed in GTK+ 1.3/2.0, at least not as of a month or two
ago. Do you folks consider this a genuine bug, or a design constraint?

--p






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]