ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-tk
perl-tk
Re: assess what subroutines are currently being called
by Darren Dunham other posts by this author
Apr 11 2007 11:17AM messages near this date
Re: assess what subroutines are currently being called | Re: assess what subroutines are currently being called
SOURCE >  I had assumed that if an event was running a sub and if the client
>  pressed a widget button which also called a sub that the subs would
>  execute in parallel. If it is actually that a button (-command) call would
>  actually have to wait for the event sub (if already running) to return, then
>  this would mean there is no need for what I am attempting.

It depends on how the event sub is written.  It is possible for an event
subroutine (or any other one), to give TK time to handle updates and
other events.  This is recommended in a long-running routine so that the
interface doesn't freeze up while it's doing work.

I'm not sure how to tell (directly from TK) if some event handler is
currently running.  Normally I would expect to handle that in my own
code (set a variable when I'm in a critical section so that other
routines were aware).  

-- 
Darren Dunham                                           ddunham@[...].com
Senior Technical Consultant         TAOS            http://www.taos.com/
Got some Dr Pepper?                           San Francisco, CA bay area
         < This line left intentionally blank to confuse you. > 
--++**==--++**==--++**==--++**==--++**==--++**==--++**==
ptk mailing list
ptk@[...].edu
https://mailman.stanford.edu/mailman/listinfo/ptk
Thread:
Listmail
Ala Qumsieh
Greg London
Listmail
Darren Dunham
Listmail
Van Nieuwenhuize

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved