Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - signal SIGUSR1: (3 Items)
   
signal SIGUSR1  
I have a problem 
write program mask signal SIGUSR1
do you have any ideas to write this program please help
Re: signal SIGUSR1  
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);
}
Re: signal SIGUSR1  
thanks for your massage