<div class="gmail_quote">On Sun, Sep 19, 2010 at 7:58 PM, Robin Burchell <span dir="ltr">&lt;<a href="mailto:viroteck@viroteck.net">viroteck@viroteck.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
Anyway: this was pretty much in keeping with my idea: move it into the task<br>
switcher (hildon-desktop/other) so that applications which are moved to<br>
background are stopped (unless they signal for whatever reason that they<br>
need to be kept running, but I&#39;m not even sure that is necessary: if<br>
you really need to do background processing constantly, why do it in a<br>
GUI application?)<br></blockquote><div><br>Hey, continue down that path and you&#39;ll be in iOS style cooperative-daemon multitasking in no-time :) Which, while not bad in itself, DOES require a substantial level of effort on part of the developer, especially, as mentioned by others, if it&#39;s a port using funky event loops. That&#39;s why, unlike in the case of iOS I do believe this call is not to be made by *compulsorily* overcomplicated by the OS/daemons in our case. <br>
<br><br><div class="gmail_quote">On Sun, Sep 19, 2010 at 1:42 PM, Ville M. Vainio <span dir="ltr">&lt;<a href="mailto:vivainio@gmail.com">vivainio@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
It would be more useful if it wasn&#39;t a launch wrapper, but rather a<br>
lone daemon that sits in the background and suspends a set of<br>
processes according to given heuristics (e.g. suspend gpodder when a<br>
call is initiated, matched by /proc/NNN/cmdline).<br>
<br>
This would allow suspend rules to be created for apps outside the<br>
packaging/implementation for the app itself.</blockquote></div><br>
I kinda would say this fits Shepherd&#39;s use-case (DBUS suspend/resume event as 
trigger, SIGSTOP/resume as action), but considering how late I am on 
that project I better keep quiet :)<br><br> </div><br></div>Best regards,<br>Attila<br>