Re: interesting thread issue at exit()
- From: Havoc Pennington <hp redhat com>
- To: Paul Davis <pbd Op Net>
- Cc: gtk-list gnome org
- Subject: Re: interesting thread issue at exit()
- Date: 22 Feb 2002 12:10:08 -0500
Paul Davis <pbd Op Net> writes:
> 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?
>
Fri Feb 1 08:57:38 2002 Owen Taylor <otaylor redhat com>
* gtk/gtkmain.c (gtk_exit_func): Remove this useless
atexit handler. (existance pointed out by Stefan Kost)
2001-02-19 Havoc Pennington <hp redhat com>
* gdk/gdk.c (gdk_exit_func): #if 0 this for now, don't install it
(gdk_init_check): no atexit func
atexit functions are completely evil - the intent is to have none.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]