[gtk-list] gtk and threads -Reply
- From: Sean Kessler <smkessler us fortis com>
- To: gtk-list redhat com
- Subject: [gtk-list] gtk and threads -Reply
- Date: Wed, 16 Dec 1998 10:33:36 -0600
... My experience with Gtk and threads is the same. The
way I handled the problem was to have T1 always be
responsible for updating the GUI. T2..n use callbacks
to insert messages into mutex protected queues (owned by T1)
which are then checked at certain intervals by T1 and, if need be,
the GUI is then updated.
Sean Kessler
>>> "Keane, Kevin" <kkeane@lehman.com> 12/16/98 11:08am >>>
Has anyone used gtk clist with threads?
I'd like to have one thread reading data delivered via CORBA (and
changing some cells in a clist with gtk_clist_append() or
gtk_clist_set_text() ),
and another thread doing gtk_main(), and responding to gui stuff.
It appears to me that gtk doesn't like to be messed with from two (or more
threads).
Any suggestions?
Thanks, KRK
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com <
/dev/null
****************************************************************
Please Note
The information in this E-mail message is legally privileged
and confidential information intended only for the use of the
individual(s) named above. If you, the reader of this message,
are not the intended recipient, you are hereby notified that
you should not further disseminate, distribute, or forward this
E-mail message. If you have received this E-mail in error,
please notify the sender. Thank you
*****************************************************************
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]