The stupid question is the question not asked | |
PerlMonks |
Re: How to run 2 buttons in parallel in Perl/Tkby zentara (Archbishop) |
on Jun 30, 2014 at 09:36 UTC ( [id://1091688]=note: print w/replies, xml ) | Need Help?? |
You are creating threads after you invoked some Tk gui code. Tk is not threadsafe, and you cannot make threads that way. See Re: Perl Tk and Threads or you can switch to Gtk2 which allows your type of code, with some restrictions.
I'm not really a human, but I play one on earth. Old Perl Programmer Haiku ................... flash japh
In Section
Seekers of Perl Wisdom
|
|