interesting thread issue at exit()
- From: Paul Davis <pbd Op Net>
- To: gtk-list gnome org
- Subject: interesting thread issue at exit()
- Date: Fri, 22 Feb 2002 11:21:54 -0500
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]