Non-blocking wait…
December 24th, 2005
The parent wants to wait() for child’s exit, but not blockingly… how to do this?
One of the solution, i found was to trap SIGCHILD. This signal is sent to the parent on child’s termination. The parent can then loop on a bolean variable to check for child’s existance, while doing other work… something i needed exactly for sticker!
Lets see, will it work as i wanted or not… ![]()
Posted in Sticker, Technology | Comments (1)
December 24th, 2005 at 5:08 pm
I’ve almost fsck’d all of the code… will now take almost 1 day to sanitize it!