Subject: Re: sigwait(2) addition?
To: Jaromir Dolecek <jdolecek@netbsd.org>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 08/16/2002 18:11:38
On Fri, Aug 16, 2002 at 10:38:18PM +0200, Jaromir Dolecek wrote:
> would it make sense to implement sigwait(2) syscall? It's very
> easy, it's very similar to sigsuspend(2).
>
> In other words, would anyone mind if it would be added? I encountered
> some software which uses it (pkgsrc/devel/pwlib), which currently
> depends on sigwait() implementation of unproven-pthreads.
Please do not. There is a sigwait() in the nathanw_sa branch now,
and we ought to figure out how it should work for a thread vs non-thread
environment.
(Obviously, Nathan had a reason for not making it a system call, and it
would be a good idea to find out why :-)
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>