psignal_internal(proc_t p, task_t task, thread_t thread, int flavor, int signum)
{
int prop;
psignal_internal(proc_t p, task_t task, thread_t thread, int flavor, int signum)
{
int prop;
p->p_sigwaitcnt++;
while ((p->p_lflag & P_LINSIGNAL) == P_LINSIGNAL)
msleep(&p->p_sigmask, &p->p_mlock, 0, "proc_signstart", NULL);
p->p_sigwaitcnt++;
while ((p->p_lflag & P_LINSIGNAL) == P_LINSIGNAL)
msleep(&p->p_sigmask, &p->p_mlock, 0, "proc_signstart", NULL);