From owner-freebsd-arch Thu Mar 7 16:20:28 2002 Delivered-To: freebsd-arch@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id DA10F37B402 for ; Thu, 7 Mar 2002 16:20:20 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020308002020.VVYH2951.rwcrmhc53.attbi.com@InterJet.elischer.org>; Fri, 8 Mar 2002 00:20:20 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id QAA44946; Thu, 7 Mar 2002 16:05:56 -0800 (PST) Date: Thu, 7 Mar 2002 16:05:55 -0800 (PST) From: Julian Elischer To: Nate Williams Cc: Poul-Henning Kamp , arch@FreeBSD.ORG Subject: Re: Contemplating THIS change to signals. (fwd) In-Reply-To: <15495.63816.189506.113294@caddis.yogotech.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 7 Mar 2002, Nate Williams wrote: > > My suggestion is to stop making STOP type signals an exception, > > because it should not be necessary to stop them in the middle of a > > syscall, just stop them from getting back to userspace. > > What about when you suspend a process in the middle of read/write, which > are syscalls? This kind of behavior is *extremely* common-place. of course The question, is, can you tell the difference between the case where the proces is suspended at the user boundary and where the process is doing it's sleep? (Considering that immediatly after the sleep finishes, it's going to abort the syscall and go to the user boundary because of the signal). > > > > Nate > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-arch" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message