<div class="gmail_quote">On Mon, Feb 23, 2009 at 5:46 PM, Carol Farlow Lerche <span dir="ltr"><<a href="mailto:cafl@msbit.com">cafl@msbit.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Spend a few hours in a kindergarten classroom. It doesn't work to prevent repeated launching of activities and ultimately a need to reboot.<div><div></div></div></blockquote><div><br>Is there anything sugar can do in this regard? <br>
<br>Would this activity starting logic work: <br>* If no activity instances are running, start it.<br>* If an instance has been "started" already but the process has not yet signaled on the dbus that it is "running", ie drawing windows etc. for the user, switch to that instance<br>
* If an instance has been started and is running, start a new instance. (*or* send a "start new instance" request to the existing instance, which allows us to save the overhead of loading up another "python" process)<br>
* Reap all instances still in the "starting" state for more than X seconds that have not explictly requested this functionality to be disabled nor signaled via the dbus that they are still active<br></div></div>
<br>-- <br>Luke Faraone<br><a href="http://luke.faraone.cc">http://luke.faraone.cc</a><br>