notworx has asked for the wisdom of the Perl Monks concerning the following question:
but then I have to transfer the new $PortObj to the already running worker-threads. How would you do that? If I do in this order: $PortObj > workers > Tk-gui -> everything works fine. But $PortObj > workers > Tk-gui > "change PortObject and give new one to the worker-threads" fails. I tried many different things (please remember I am newbie) for example:my $PortObj = new Control::CLI (Use => $PortName);
but this time I think I need an advice. Thank you in advance!!! Best regards Stefan.until ($everything_works){ try; error; read the Manual; google; }
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Tk and threads and Control::CLI- change Port-(Object) in Tk an let workers know
by Anonymous Monk on Mar 11, 2023 at 11:46 UTC | |
by notworx (Novice) on Mar 11, 2023 at 13:35 UTC | |
by Marshall (Canon) on Mar 13, 2023 at 17:00 UTC | |
Re: Tk and threads and Control::CLI- change Port-(Object) in Tk an let workers know
by jmlynesjr (Deacon) on Mar 14, 2023 at 01:26 UTC |