- From: "A. Pagaltzis" <pagaltzis gmx de>
- To: Gtk2-Perl List <gtk-perl-list gnome org>
- Subject: Re: Threading
- Date: Sun, 6 Aug 2006 22:14:32 +0200
* Jens Luedicke <jens luedicke gmail com> [2006-08-06 21:40]:
The simplest (in some way) is if you can peform your long task
piecemeal. Then just do it bit by bit in an idle callback.
Another option might be to fork off a child process to perform
the heavy-duty work and have the parent listen to the child on a
pipe. You can have Glib take care of the asynchronicity for you
by sticking the processing code in an I/O watcher callback.
Aristotle Pagaltzis // <http://plasmasturm.org/>
] [Thread Prev