[576] in The GTK GIMP ToolKit mailing list archive
[gtk-list] Re: Making gtk thread-safe
daemon@ATHENA.MIT.EDU (Rob Browning)
Tue Jul 29 18:21:52 1997
To: gtk-list@redhat.com
From: Rob Browning <rlb@cs.utexas.edu>
Date: 29 Jul 1997 17:30:10 -0500
In-Reply-To: Erik Troan's message of "Tue, 29 Jul 1997 17:43:04 -0400 (EDT)"
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com
Erik Troan <ewt@redhat.com> writes:
> Also, most multithreaded windowing apps dedicate a single thread to the
> user interface, which would also suggest this approach. I suspect that
> any type of fine-grained locking on gtk would be a huge loss?
Hard to say. Finer grain locking than per-display may not be worth
while. I'd say that the global mutex is the best place to start, and
then see how well it works. Later things can be improved. The key
here is to make sure that gtk is at least thread safe if not optimally
efficient.
--
Rob
--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null