Deferring signal handling in Linux

Posted by EpsilonVector on Stack Overflow See other posts from Stack Overflow or by EpsilonVector
Published on 2010-05-17T23:30:17Z Indexed on 2010/05/18 0:30 UTC
Read the original article Hit count: 285

Filed under:
|

I'm trying to figure out how to block a signal in Linux kernel 2.4 (user space) from invoking its handler, but keep it available to be handled later, preferably as soon as I re activate the handling of said signal.

The function sigprocmask seem to come up in all my search results, but I can't find a good, clear description that explains whether the blocked signal gets "saved" to be handled later, and if so where and how do I handle it when I'm ready for it.

Can someone please clarify what's going on, preferably with a code example? Thanks in advance.

© Stack Overflow or respective owner

Related posts about linux-kernel

Related posts about homework