Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jun 2001 19:29:54 -0400 (EDT)
From:      Daniel Eischen <eischen@vigrid.com>
To:        Ian Dowse <iedowse@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libc/gen _pthread_stubs.c
Message-ID:  <Pine.SUN.3.91.1010611192516.21525A-100000@pcnet1.pcnet.com>
In-Reply-To: <200106112318.f5BNIcU58834@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 11 Jun 2001, Ian Dowse wrote:
> iedowse     2001/06/11 16:18:38 PDT
> 
>   Modified files:
>     lib/libc/gen         _pthread_stubs.c 
>   Log:
>   Make the non-threaded stub for pthread_sigmask() a no-op instead
>   of calling sigprocmask(). This matches the behaviour of thr_sigsetmask()
>   on Solaris; _pthread_sigmask_stub was added purely for compatibility
>   with Solaris (for TI-RPC), so it might as well do the same thing.
>   
>   This fixes the problem where client RPC calls ignored all signals
>   for the complete duration of the RPC. This behaviour is currently
>   necessary in the threaded case due to locking issues, but was never
>   intended to occur in non-threaded programs.

Just to clarify a bit.  This was not ever a problem in the threaded
case because pthread_sigmask only set the _threads_ signal mask and
not the process signal mask.  Signals continue to work (interrupt)
for threaded RPC apps.

Thanks for fixing this Ian!

-- 
Dan Eischen

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SUN.3.91.1010611192516.21525A-100000>