<br><br><div><span class="gmail_quote">On 11/7/07, <b class="gmail_sendername">Mika Yrjölä</b> <<a href="mailto:exploderi@gmail.com">exploderi@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 11/7/07, Michael Stepanov <<a href="mailto:michael@stepanoff.org">michael@stepanoff.org</a>> wrote:<br>> Hi,<br>><br>> I developed a simple Maemo application using its SDK which just run another<br>> SDL-based program with specified parameters. So, I'd like to catch the case
<br>> when the SDL program crashed by some reason to run it again. What is the<br>> most efficient way to periodically check something in the Maemo SDK?<br><br>If the launched program registers itself as a D-BUS service, other
<br>applications can then monitor the service for events such as its<br>disappearance (also avoiding the need to check the status of the<br>application periodically).</blockquote><div><br>Sounds very attractive! But in what place I should call that check in the main program?
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">The following page should contain links to plenty of D-BUS documentation:<br><br>
<a href="http://www.freedesktop.org/wiki/Software/dbus">http://www.freedesktop.org/wiki/Software/dbus</a><br></blockquote></div><br><br clear="all"><br>-- <br>Cheers,<br>Michael