Reputation: 30765
What I want to do is to prevent signals from interrupting my application. At known points, for example, before making a system call, I will check for pending signals and call their handlers. In other words, I want to defer signal handling to known points in the code.
Any idea how this can be done? Can this be done in user-space or kernel modification will be required?
Upvotes: 0
Views: 85
Reputation: 25269
sigprocmask: http://resin.csoft.net/cgi-bin/man.cgi?section=2&topic=sigprocmask
Upvotes: 1