Re: time consuming function/loop




its silly sometimes i miss easy solution or think
about it too late

--- John Cupitt <jcupitt gmail com> wrote:

On 8/5/05, Yogesh M <yzonesoft yahoo com> wrote:
thank you for the useful information, is there a
way i
can give user an option to break the thread, like
cancel button.

I have a "cancel" button with a callback that sets a
global variable
to TRUE. The thread periodically checks this
variable and if it is
set, it killls itself.

John




                
__________________________________ 
Yahoo! Mail for Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]