[sugar] Killing hung activities

Eben Eliason eben.eliason at gmail.com
Tue Jul 29 09:48:26 EDT 2008


Indeed, the need for this has been expressed in a long forgotten ticket.  I
do think it's something we should support in some fashion, and something
worth a look for 9.1.  More comments on the ticket:
http://dev.laptop.org/ticket/1166#comment:8
(The "in the ring" activities mentioned are now "in the top edge of the
frame".)

- Eben


On Tue, Jul 29, 2008 at 5:35 AM, Bernie Innocenti <bernie at codewiz.org>wrote:

> Today I was testing Paing in Joyride and managed to hung it in a
> way that hogs the CPU.
>
> There seems to be no way to kill such an activity from Sugar.
> Stop just tries to close the X window, which is ineffective in
> such cases.
>
> We'd need to fire a timer to check if the activity is still there
> after a few seconds and, in that case, send a SIGKILL.  A safer
> design would pop a Wait/Force Quit window before proceeding.
>
> --
>  \___/  Bernie Innocenti - http://www.codewiz.org/
>  _| X |  Sugar Labs Team  - http://www.sugarlabs.org/
>  \|_O_|  "It's an education project, not a laptop project!"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.laptop.org/pipermail/sugar/attachments/20080729/8720199b/attachment.htm 


More information about the Sugar mailing list