- /** This method is connected to the timer. Every XX ms it is called
- * so that we can check on the status of the children. Those that
- * are found to have finished are removed from the list and their
- * callback function is passed the final return state.
- */
- void timer();
+ typedef boost::shared_ptr<ForkedProcess> ForkedProcessPtr;
+ typedef std::list<ForkedProcessPtr> ListType;
+ typedef ListType::iterator iterator;
+
+ iterator find_pid(pid_t);