Re: [gtk-list] Multiple main loops



>In other words, I have a main pthread that spawns two child threads and
>runs the gtk loop in one and the readline loop in the other. It sorta
>works. However, 1) It always SEGVs when it exits and 2) It occasional gets
>X, gdk, and/or shmem errors. 
>
>
>This subject was brought up a few weeks ago, but unfortunately the archive
>is currently down...

are you making GTK calls from the non-GTK thread ? you can't do this
safely unless you wrap the GTK calls in GTK_THREAD_{ENTER,LEAVE} or something
like that.

--p



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