#8532 NORM 8.2.0 (: SIGCHLD fights with threads.
Zarro Boogs per Child
bugtracker at laptop.org
Wed Sep 17 22:23:13 EDT 2008
#8532: SIGCHLD fights with threads.
-----------------------------+----------------------------------------------
Reporter: cscott | Owner: marco
Type: defect | Status: new
Priority: normal | Milestone: 8.2.0 (was Update.2)
Component: sugar-toolkit | Version: Development build as of this date
Resolution: | Keywords: r+
Next_action: review | Verified: 0
Blockedby: | Blocking:
-----------------------------+----------------------------------------------
Comment(by gnu):
Another alternative would merely be to omit the signal handler, and let
the zombies pile up.
If you don't like piles of zombies, you can run a waitpid(-1, &status,
WNOHANG) every once in a while, e.g. when you start an activity, or draw
the frame, or do something like that, to clean up any pending zombie. If
the waitpid succeeds, loop til it fails, thus cleaning up all the zombies
in the queue.
But I don't really understand the structure of Sugar...
--
Ticket URL: <http://dev.laptop.org/ticket/8532#comment:3>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list