[9846] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: Strange quirk

daemon@ATHENA.MIT.EDU (Jeff Garzik)
Wed Nov 4 13:57:05 1998

To: gtk-list@redhat.com
Date: Wed, 4 Nov 1998 13:13:40 -0500 (EST)
Reply-To: jgarzik@pobox.com
In-Reply-To: <199811041740.KAA13122@ymir.atd.ucar.edu> from "Rich Neitzel" at Nov 4, 98 10:40:59 am
From: Jeff Garzik <jgarzik@pobox.com>
Resent-From: gtk-list@redhat.com

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




-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post