Re: bugs regarding late g_thread_init() calls
- From: Tor Lillqvist <tml iki fi>
- To: "Gtk+ Developers" <gtk-devel-list gnome org>
- Subject: Re: bugs regarding late g_thread_init() calls
- Date: Fri, 5 Jan 2007 04:33:57 +0200
> > In my opinion what needs to be done is this: GLib should normally
> > always be threaded (behave as if g_thread_init(NULL) had been called
> > at the very start of main()), and g_thread_init(NULL) will thus turn
> > into a no-op.
> This is very hard to do. You need a way to hook the g_thread_init()
> call into the startup sequence.
Is that necessary? Couldn't the data structures and variables which
g_thread_init() sets up just be statically initialized like they are
now by the code in g_thread_init(NULL)?
--tml
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]