Re: When to call g_thread_init(), again...



Am Freitag, den 15.08.2008, 15:06 +0200 schrieb Christian Dywan:
> Am Fri, 15 Aug 2008 15:45:29 +0300
> schrieb "Tor Lillqvist" <tml iki fi>:
> I think both is rather open for missunderstandings actually, before and
> after the improvement of the g_thread_init documentation.
> g_mem_set_vtable clearly asserts that it must be called *before
> anything else* and so does g_thread_init.
> 
> There is no ambiguity with regard to when g_thread_init should be
> called as I see it. At best it's paradox that one is supposed to call
> two functions before each other, ie. before any Glib function.

Actually, g_thread_init() is part of libgthread, not libglib, so the
order would be irrelevant :-)

Regards,
  Sven



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