"sigprocmask" doesn't return

From: Bilal (SilentScreams_at_gmail.com)
Date: 06/07/05


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



Relevant Pages

  • Re: sigprocmask doesnt return
    ... > Hi Guyz! ... > I am runningAIX ver 4.3.3 and having problem with the sigprocamsk ... > do somthing ...
    (comp.unix.aix)
  • sigprocmask doesnt return
    ... I am runningAIX ver 4.3.3 and having problem with the sigprocamsk ... Bilal Anjum ...
    (comp.unix.aix)

Loading