Re: Restarting a process
Vic <simranranee-/[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Tim right now, I am rebooting the TINI, but it takes too long for the TINI to be up again (~17 seconds long), hence I am considering just restarting the dead task and not the whole environment. TINIOS.getTaskTable or something seems to return a string array, I will explore to see if it returns the list of process. Thanks anyways. Thanks Jameel --- Tim Bitson <[email protected]> wrote: > Jameel, > > Look at using the built-in Watchdog Timer. If your > app dies, you can > have it re-boot your tini. > > tim > > > On Mar 8, 2004, at 6:46 AM, Vic wrote: > > > Hello > > > > I have a a serial line monitor (sermon.tini) > which is > > started during a TINI boot (an entry in > etc/.startup) > > however my monitor exits when there is a > exception, I > > would like to create another "guardian" program > which > > will monitor this sermon.tini, if the program > stops, > > the guardian restarts it. > > > > I have looked into TINIOS class, it has option to > kill > > task or monitor task by process id, but has no way > to > > get a process ID by the name of the program or > task. > > > > How can I proceed? > > > > Regds > > Jameel > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Search - Find what youre looking for > faster > > http://search.yahoo.com > > _______________________________________________ > > TINI mailing list > > > > To UNSUBSCRIBE, edit your profile, or see list > archives: > > http://lists.dalsemi.com/mailman/listinfo/tini > > > __________________________________ Do you Yahoo!? Yahoo! Search - Find what youre looking for faster http://search.yahoo.com _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini