"be consistent" | |
PerlMonks |
Re: External controlling of a multi-threaded Windows perl programby jplindstrom (Monsignor) |
on Nov 02, 2007 at 13:57 UTC ( [id://648648]=note: print w/replies, xml ) | Need Help?? |
If you're doing a GUI it's a good idead to keep it in a thread of its own.
Create a thread first and don't load any GUI modules at all before that, then build the GUI and run main event loop in that one. Use things like Thread::Queue or Thread::Queue::Any to communicate between the threads. /J
In Section
Seekers of Perl Wisdom
|
|