in reply to Re^5: Execute a sub in the background
in thread Execute a sub in the background
Well here is the situatian. As i mentioned the sub in the thread keeps going and my main program also keeps going.
I want in the main process when i hit a button to stop the cycle in the thread. Is there such way. I mean maybe to use a flag in the sub(tried this it didn't reflect anything). So is there a way to end the cycle in the sub
This is what i mean by killing it i want to stop this sub or simply execute return in it when there i a button pressed in the main process
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Execute a sub in the background
by chessgui (Scribe) on Feb 01, 2012 at 16:08 UTC | |
by egzoti4en (Initiate) on Feb 01, 2012 at 16:23 UTC | |
by chessgui (Scribe) on Feb 01, 2012 at 16:49 UTC |