in reply to Re^2: Running a threaded Tk script on Windows
in thread Running a threaded Tk script on Windows
Thanks for the ideas. But I do spawn the threads before I start any Tk code, and it does run fine on linux.Just because it works on linux doesn't mean its supposed to :) and the mere act of useing the module executes code. From perlthrtut
If you're using a module that's not thread-safe for some reason, you can protect yourself by using it from one, and only one thread at all. If you need multiple threads to access such a module, you can use semaphores and lots of programming discipline to control access to it.Tk is not thread-safe.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Running a threaded Tk script on Windows
by zentara (Cardinal) on Sep 16, 2005 at 12:55 UTC | |
by BrowserUk (Patriarch) on Sep 17, 2005 at 00:15 UTC | |
by zentara (Cardinal) on Sep 17, 2005 at 09:09 UTC |