PerlTk on a thread...by Wiggins (Hermit)
|on Nov 22, 2006 at 14:36 UTC||Need Help??|
Wiggins has asked for the
wisdom of the Perl Monks concerning the following question:
Pondering has lead me to write a PerlTk GUI for a process control. Since it not apparent how to add file descriptors to the event manager (as in X), I tried to put the GUI in one thread, and the Msg I/O in another.
Calling the GUI as a subroutine works just fine.
But as a thread, it fails:
Correcting the error seems beyond my skill level.