Re: [gtk-list] Re: non-exiting gtk_exit()
- From: Tomas Berndtsson <tomas nocrew org>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: non-exiting gtk_exit()
- Date: 08 May 2000 16:40:36 +0200
Havoc Pennington <email@example.com> writes:
> > If I did not call gtk_exit() at all, the program seg faulted somewhere
> > in exit(), for unknown reasons. When calling gtk_exit(), it exited ok,
> > but the extra things the main thread should do, wasn't performed.
> exit() should be fine, you just want to figure out that cause of that
> > Is there any way to do what gtk_exit() does, but not exit the program
> > at the same time?
> Yes, gtk_exit() doesn't do anything but exit, so doing nothing at all
> will do what you want. ;-)
Ok, good :)
But, it's still strange, because if I call gtk_exit(), it doesn't seg
fault. And my program doesn't seg fault when using a different
interface (also threaded). And gdb tells me that the seg fault is
somewhere in exit(), and that code is outside my code.
Oh well, thanks for the info anyway, I'll have to dig deeper into
May I ask what the reason for gtk_exit() is, if it doesn't do anything
else than exit()?
] [Thread Prev