From owner-freebsd-smp Fri Sep 8 12:48:49 2000 Delivered-To: freebsd-smp@freebsd.org Received: from pcnet1.pcnet.com (pcnet1.pcnet.com [204.213.232.3]) by hub.freebsd.org (Postfix) with ESMTP id 76D8537B446 for ; Fri, 8 Sep 2000 12:48:46 -0700 (PDT) Received: (from eischen@localhost) by pcnet1.pcnet.com (8.8.7/PCNet) id PAA10762; Fri, 8 Sep 2000 15:48:18 -0400 (EDT) Date: Fri, 8 Sep 2000 15:48:18 -0400 (EDT) From: Daniel Eischen To: Alfred Perlstein Cc: smp@FreeBSD.ORG Subject: Re: SMPng: catching signals and mutexes. In-Reply-To: <20000908115909.F12231@fw.wintelcom.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 8 Sep 2000, Alfred Perlstein wrote: > There seems to be no way to specify that a signal is to interrupt > a wait on a mutex, I'm wondering if we should make it possible to > do so. [...] > I'm not sure I like this at all, shouldn't there be an > mtx_enter with some option to return an error if a signal > arrives? IMHO, yes. Solaris has cv_wait_sig() for just that. -- Dan Eischen To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message