Re: [gtk-list] Strange quirk



Rich Neitzel wrote:
> 
> I'm seeing a strange quirk in behavior. The setup is:
> 
> gtk 1.0.6
> gtk-- 0.9.20	Both compiled with -D_REENTRANT -O2.
> 
> RedHat 5.1
> 
> The program needs to input data. If this is done via gdk_input_add(),
> everything works fine. However, if the input is done in a separate
> thread, any entry based object will fail in g_mem_chunk_alloc() as
> soon as a key is pressed.

Can you give more detail as to what "program needs to input data" and
"if input is done in a separate thread" really mean?

What exactly is the thread doing?
Does it make any g_*, gdk_*, or gtk_* calls?
If so, what functions does the thread call?
Was Glib compiled with _REENTRANT also?

	Jeff






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