http://qs321.pair.com?node_id=741801


in reply to Re^2: Gtk2 app -- what's better, threads, or multiple timeouts?
in thread Gtk2 app -- what's better, threads, or multiple timeouts?

The golden rule of event driven code is "never wait". Often that means that you need to initiate a process (start the fetch) then return and handle the reply some time in the future. One thing that implies is that you can only make non-blocking calls in the event processing.


Perl's payment curve coincides with its learning curve.
  • Comment on Re^3: Gtk2 app -- what's better, threads, or multiple timeouts?