>I read the mailing list, and yes, there is a g_thread_init(0) in the
>main function, as well as
>
>gdk_threads_enter();
>gtk_main();
>gdk_threads_leave();

why are you calling the thread functions at this level? they guarantee
that no other thread will ever be able to enter GTK, since the mutex
they operate on will be held for the entire duration of the GUI's
existence. 

>    pthread_mutex_lock(&Video::video_mutex);
>    // gdk_threads_enter();
>    // glXWaitX();
>    if(draw->window) {

did you try it with the gdk_threads_enter() in place?

--p

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to