in reply to Re: Tk and Threads
in thread Tk and Threads
Thank you for your reply.
This is a good example for thread signalling. But one problem remains. You start your threads before Tk Code. And you are able to cancel your threads. But how could you restart your threads? If I am right this should not be done from Tk.
I tried the signalling with my example with the states in the thread. My goal is it to change the state from STATE_WORK to STATE_IDLE when the signal comes. But always when the signal comes the thread is completely killed.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Tk and Threads
by BrowserUk (Patriarch) on Dec 22, 2010 at 10:31 UTC | |
by Dirk80 (Pilgrim) on Dec 22, 2010 at 10:56 UTC | |
by BrowserUk (Patriarch) on Dec 22, 2010 at 11:04 UTC | |
by Dirk80 (Pilgrim) on Dec 22, 2010 at 12:01 UTC | |
by BrowserUk (Patriarch) on Dec 22, 2010 at 12:27 UTC | |
|