"sigprocmask" doesn't return
From: Bilal (SilentScreams_at_gmail.com)
Date: 06/07/05
- Next message: Michael Zawrotny: "Re: my reading plan need suggestion"
- Previous message: Peter T. Breuer: "Re: Shared Libraries : library paths ??"
- Next in thread: loic-dev_at_gmx.net: "Re: "sigprocmask" doesn't return"
- Reply: loic-dev_at_gmx.net: "Re: "sigprocmask" doesn't return"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 7 Jun 2005 05:00:31 -0700
Hi Guyz!
I am running IBM AIX ver 5.2 and having problem with the sigprocamsk
function.
/* CODE */
sigset_t new_mask, old_mask;
sigemptyset(&new_mask);
sigemptyset(&old_mask);
sigfillset(&newmask);
sigprocmask(SIG_SETMASK, &new_mask, &old_mask);
/*
do somthing
*/
sigprocmask(SIG_SETMASK, &old_mask, NULL);
/* CODE */
when i call the sigprocmask first time to set the new mask, function
doesn't return. I have got no idea what is going wrong? It is a
multithreaded application, and this code excerpt is called from one
thread. So what are the possible problems causing this behavior of
sigprocmask(...);
Thanks and Regards,
Bilal Anjum
- Next message: Michael Zawrotny: "Re: my reading plan need suggestion"
- Previous message: Peter T. Breuer: "Re: Shared Libraries : library paths ??"
- Next in thread: loic-dev_at_gmx.net: "Re: "sigprocmask" doesn't return"
- Reply: loic-dev_at_gmx.net: "Re: "sigprocmask" doesn't return"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
Loading