Re: Initializing threads



RAT wrote:

What I found was

If you use GLib from more than one thread, you must initialize the
thread system by calling g_thread_init().

hmm, but I have only one thread, not more than one!

What about the thread you are calling g_thread_create() from,
i.e. your main thread?  It counts too, even if it is created
for you by the system.

Paul




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