#2 Signal handling

open
nobody
None
5
2004-07-26
2004-07-26
Alex
No

This patch fixes two things:

- It adds 1 to the time count to prevent divide by 0
when showing stats. That is, if you press enter right
after start.

- It defaults to SIG_IGN to ignore SIGUSR1 signal until
the processes are ready for receiving them. Now process
0 will ignore always ignore SIGUSR1, which doesnt
matter and the rests will ignore it until the handler
is installed (else they may exit on being killed). This
feature is probably not important, i just made it while
trying to fix the firsrt one.

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks