Re: Initializing threads



On Tue, 05 Oct 2004 21:39:21 +0200, RAT <rat mujmail cz> wrote:
Hi, I'm new in threads and this is error that I have

GLib-ERROR **: The thread system is not yet initialized.

I'm just trying to create one threaded function with

g_thread_create(read_func,NULL,FALSE,NULL);

Where's problem?

g_thread_init():
    http://developer.gnome.org/doc/API/2.0/glib/glib-Threads.html

Funny there is no mention of `g_thread_init()' in the description

Cheers,
                        -Tristan



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