in reply to Running a threaded Tk script on Windows
One issue might be the fact that you've loaded Tk, which is an XS module, and then spawned threads, which attempts to duplicate the data (even though you only use the Tk objects from one of the threads). The way around this is to replace your use Tk and use Tk::Something statements with require statements and place these after the point in the code where you launch your threads.
Update: to give proper credit, I got this idea from BrowserUk in a node I can't find but it might have been this one.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Running a threaded Tk script on Windows
by zentara (Cardinal) on Sep 15, 2005 at 22:53 UTC | |
by PodMaster (Abbot) on Sep 16, 2005 at 01:06 UTC | |
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 |