From owner-cvs-all Mon Jun 11 16:30:37 2001 Delivered-To: cvs-all@freebsd.org Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id 6821A37B401; Mon, 11 Jun 2001 16:30:34 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: (from eischen@localhost) by pcnet1.pcnet.com (8.8.7/PCNet) id TAA22024; Mon, 11 Jun 2001 19:29:55 -0400 (EDT) Date: Mon, 11 Jun 2001 19:29:54 -0400 (EDT) From: Daniel Eischen To: Ian Dowse Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libc/gen _pthread_stubs.c In-Reply-To: <200106112318.f5BNIcU58834@freefall.freebsd.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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