Function stopping a function
Donn Ingle
donn.ingle at gmail.com
Fri Nov 23 01:10:46 EST 2007
More information about the Python-list mailing list
Fri Nov 23 01:10:46 EST 2007
- Previous message (by thread): Function stopping a function
- Next message (by thread): Function stopping a function
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> For instance, lenghty_function() executes, when an > external event triggers cancel(), which is supposed to > abruptly stop lengthy_function(), reset some variables > and exit immediately. I would set a variable someplace (perhaps globally) that gets tested in lengthy_function()'s loop and issues a break. If it's threaded then colour me clueless. \d
- Previous message (by thread): Function stopping a function
- Next message (by thread): Function stopping a function
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list