in reply to Keeping children alive persistiently, intelligently
But exactly how you setup your threads depends on things like what are they doing, do you want to reuse them, how many simultaneously running threads do you want? SuperSearch here for threads, or groups.google.com will yield many examples.
Generally I like to run threads and have the main parent thread just act as a controller( watching, reading shared vars, etc). It is convenient to do it with an event-loop system like POE, Tk, Gtk2, or even GLib (my current commandline favorite).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Keeping children alive persistiently, intelligently
by Hercynium (Hermit) on Feb 08, 2008 at 20:26 UTC | |
by weismat (Friar) on Feb 10, 2008 at 07:43 UTC | |
by zentara (Cardinal) on Feb 09, 2008 at 16:35 UTC |