in reply to Re^2: Perl/Tk while {1} and a responsive UI
in thread Perl/Tk while {1} and a responsive UI

Tk with threads are nothing to fear of. Yes, it's not trivial. But GUIs + threads are hardly a triviality in any language. And yet, it's being done, and many programs have GUIs and several threads, including in Perl/Tk.
  • Comment on Re^3: Perl/Tk while {1} and a responsive UI

Replies are listed 'Best First'.
Re^4: Perl/Tk while {1} and a responsive UI
by Courage (Parson) on Apr 24, 2005 at 17:53 UTC
    well, your second sentence immediately makes untrue first sentence :)

    No offence!
    Yet I appplause very much your effort with Marrying Tk, threads and SerialPort - a COM port monitor.

    But you either "nothing to fear of", or "not trivial" (meaning you must take special care of threading, especially coonsidering weak internal threads in perl, so you must always switch to OS API for reliable threads)

    As to add a little bit, Tcl::Tk is more lightweight than Tk , so your experiments on trying Tk to have less CPU cycles (as to allow more COM processing) are better done with Tcl::Tk.