Name

set_current_blocked — change current->blocked mask

Synopsis

void set_current_blocked (const sigset_t * newset);
 

Arguments

newset

new mask

Description

It is wrong to change ->blocked directly, this helper should be used to ensure the process can't miss a shared signal we are going to block.