>Has anyone managed to get multithreading to work using gtk and pth on >NetBSD? Apparently, GNU-Pth on NetBSD is non-preemptive and for most of >the time the gtk thread never yields control to any other thread.
GNU-Pth is always non-preemptive: its part of the design of the library. More than that, they multiplex multiple user space threads on single kernel threads, unlike linuxthreads (the linux Pthreads implementation) which use multiple kernel threads. Non-preemptive threads are generally not drop-in replacements for preemptive threads, and user space threading is generally not a drop in replacement for kernel space threading. AFAIK, glib's thread model assumes preemptive threading. I am not clear why you'd being trying to use GNU-Pth as thread system with GTK+. --p _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list