On Wed, 2003-02-26 at 21:49, David Smith wrote:
> A warning on threading: GTK is not thread safe. Be careful, and know the
> implications of your design before you begin to code. It will save you
> many headaches.

GTK+ *is* thread-aware, however.  Just follow the FAQ and you'll be
fine.  As long as you use critical sections around gtk+ calls, you can
even make calls to the GUI from any thread (unlike windows).  There's a
nice FAQ on this.  

> 
> --Dave
> 
> <quote who="Soren Harward">
> > Michael L Torrie wrote:
> >> Threading is the best way.  Just pay attenting to the threading
> >> section of the gtk FAQ.
> >
> > Point noted.  Looks like it's time to re-write this program in C instead
> >  of perl.  The latter was fine when it was a simple yet un-intuitive
> > command-line program.  Then I hacked in the GUI using GTK-perl, and it
> > was still okay, but not great.  Now it's starting to get out of
> > control...
> 
> 
> 
> 
> ____________________
> BYU Unix Users Group 
> http://uug.byu.edu/
> ___________________________________________________________________
> List Info: http://phantom.byu.edu/cgi-bin/mailman/listinfo/uug-list
-- 
Michael Torrie <[EMAIL PROTECTED]>


____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://phantom.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to