With a restart I mean undoing everything the thread has done and then starting it again.
I have a TK Gui. The user is pressing the start button. Then a long action is started (in a thread). There is also a cancel button. If the user is pressing the cancel button then the long action shall be stopped immediately. Everything what has been done until now shall be undone (e.g. deleting a file which was created by this thread). When the user then again is pressing the start button the long action shall be started again. Because there are a lot of other GUI-Elements which contain information for the thread a new pressing of the start button has to give this information to thread.
In reply to Re^6: Tk and Threads
by Dirk80
in thread Tk and Threads
by Dirk80
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |