threads lock up desktop
- From: "Nils O. Selåsdal" <noselasd frisurf no>
- To: gtk-app-devel-list gnome org
- Subject: threads lock up desktop
- Date: Wed, 12 Mar 2003 22:53:12 +0000
Looking at the FAQ I should use the
g_thread_init(NULL),gdk_threads_enter(),gdk_threads_leave();
mechanisms when writing a multithreaded app.
Now, I want to write a function that calls
gdk_threads_enter() and gdk_threads_leave() ,that function
might be called from the mainloop or from another thread .
Can I do that?
My entire desktop locks up when i call gdk_threads_enter()
from the main loop...
--
NOS - Using Redhat and their 1.2.10-11 gtk+ version
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]