Re: time consuming function/loop



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



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