|
06/04/2009 4:03 PM
post30886
|
On Thu, Jun 04, 2009 at 03:57:17PM -0400, Paweł Turek wrote:
> I have a problem
> write program mask signal SIGUSR1
> do you have any ideas to write this program please help
>
Something like the following?
{
sigset_t signals;
sigemptyset(&signals);
sigaddset(&signals, SIGUSR1);
pthread_sigmask(SIG_BLOCK, &signals, NULL);
}
|
|
|
|
|