From owner-freebsd-hackers@FreeBSD.ORG Thu Jan 3 20:10:54 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8671516A41A for ; Thu, 3 Jan 2008 20:10:54 +0000 (UTC) (envelope-from metin@EnderUNIX.org) Received: from istanbul.enderunix.org (freefall.marmara.edu.tr [193.140.143.23]) by mx1.freebsd.org (Postfix) with ESMTP id 9964613C442 for ; Thu, 3 Jan 2008 20:10:53 +0000 (UTC) (envelope-from metin@EnderUNIX.org) Received: (qmail 3984 invoked by uid 1040); 3 Jan 2008 20:11:21 -0000 Received: from unknown (HELO ?192.168.2.4?) (metin@88.237.193.104) by 0 with ESMTPA; 3 Jan 2008 20:11:18 -0000 Date: Thu, 3 Jan 2008 22:10:34 +0200 From: Metin KAYA X-Mailer: The Bat! (v3.98.4) Professional Organization: EnderUNIX X-Priority: 3 (Normal) Message-ID: <172618207.20080103221034@EnderUNIX.org> To: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= In-Reply-To: <86prwid6tp.fsf@ds4.des.no> References: <1571995824.20080103205248@EnderUNIX.org><20080103192245.GB90170@keira.kiwi-computer.com><363446479.20080103213223@EnderUNIX.org> <86prwid6tp.fsf@ds4.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SMTP-Filter: SurGATE SMTP Filter Engine Release 1.0.1 http://www.endersys.com X-SurGATE-Result: Clean (Content eval: -4.40 points) Cc: freebsd-hackers@freebsd.org, "Rick C. Petty" Subject: Re[2]: select X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2008 20:10:54 -0000 > Metin KAYA writes: >> Yes Rick, I'm asking this "indefinitely" issue. Is there anything that >> handle this NULL situation a signal, or etc.? How does Linux or >> FreeBSD behave? > Please don't top-post. > Like most other system calls that block "indefinitely", select(2) will > be interrupted by signals. This is *also* documented in the man page > you didn't read: > [EINTR] A signal was delivered before the time limit expired > and before any of the selected events occurred. > See sigaction(2) for details on how to modify the way system calls > behave when a signal is delivered. > DES Thanks. I've read select_tut(2) man page in FC8 but there is no such explanation about EINTR, so don't mind my this mistake. -- Metin KAYA EnderUNIX Software Developer Endersys Software Engineer http://www.EnderUNIX.org/metin http://www.Endersys.com/