From owner-freebsd-hackers Tue Jan 30 18:46:45 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA04164 for hackers-outgoing; Tue, 30 Jan 1996 18:46:45 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id SAA04141 for ; Tue, 30 Jan 1996 18:46:31 -0800 (PST) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id NAA17049; Wed, 31 Jan 1996 13:27:19 +1030 From: Michael Smith Message-Id: <199601310257.NAA17049@genesis.atrad.adelaide.edu.au> Subject: Re: signal masks and select To: leisner@sdsp.mc.xerox.com (Marty Leisner) Date: Wed, 31 Jan 1996 13:27:18 +1030 (CST) Cc: linux-kernel@vger.rutgers.edu, hackers@freebsd.org In-Reply-To: <9601301744.AA29546@gnu.mc.xerox.com> from "Marty Leisner" at Jan 30, 96 09:44:51 am MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org Precedence: bulk Marty Leisner stands accused of saying: > > > Select seems to have a well know problem... The solution is also well known. See Stevens (Advanced Programming in the Unix Environment), start with the discussion on page 286 and work your way through it. This book really is a _must_ for anyone working with C under Unix. > Is there any interest into making a select call in the kernel with > a new signal mask...so the above code segment becomes atomic > (but if you use it, it's not portable to other Unixes without this > enhancement...) No. > marty leisner@sdsp.mc.xerox.com -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] "wherever you go, there you are" - Buckaroo Banzai [[