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.
In reply to Re^3: Gtk2 app -- what's better, threads, or multiple timeouts?
by GrandFather
in thread Gtk2 app -- what's better, threads, or multiple timeouts?
by ttlgreen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |