Race Conditions

"edward barlow" <[email protected]>
Newsgroups gmane.comp.lang.perl.tk
Message-ID <[email protected]>
I appear to be getting a race condition in Perl/Tk.  I click on a user 
interface element (a button) which redraws a Tk::Tree and then click on 
another button quickly (before the first element finishes the tree redraw) 
that also will cause a tree redraw.  From what i can tell,  I end up 
redrawing the tree twice simultaneously...  I end up with duplicate elements 
and getting an error.  Clicking slowly produces no errors..  Is this normal 
under a multi threaded version perl and is there a way to force Tk events to 
be single threaded...

perl -v : perl v5.8.4 for sun4-solaris-thread-multi based on build 810 from 
ActiveState
Tk::Version = 804.027


Thanks
Ed Barlow


-++**==--++**==--++**==--++**==--++**==--++**==--++**==
This message was posted through the Stanford campus mailing list
server.  If you wish to unsubscribe from this mailing list, send the
message body of "unsubscribe ptk" to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.