Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Mar 2005 09:15:28 -0500
From:      John Baldwin <jhb@FreeBSD.org>
To:        David Xu <davidxu@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern kern_sig.c
Message-ID:  <200503020915.28512.jhb@FreeBSD.org>
In-Reply-To: <200503021343.j22DhpQ3075008@repoman.freebsd.org>
References:  <200503021343.j22DhpQ3075008@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 02 March 2005 08:43 am, David Xu wrote:
> davidxu     2005-03-02 13:43:51 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/kern             kern_sig.c
>   Log:
>   In kern_sigtimedwait, remove waitset bits for td_sigmask before
>   sleeping, so in do_tdsignal, we no longer need to test td_waitset.
>   now td_waitset is only used to give a thread higher priority when
>   delivering signal to multithreads process.
>   This also fixes a bug:
>   when a thread in sigwait states was suspended and later resumed
>   by SIGCONT, it can no longer receive signals belong to waitset.

Is this related at all to Peter Holm's panic where sigwait() + swapping 
invokes a panic?

-- 
John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503020915.28512.jhb>