From owner-freebsd-current Wed Nov 29 11:55:56 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA15030 for current-outgoing; Wed, 29 Nov 1995 11:55:56 -0800 Received: from apollo.COSC.GOV (root@apollo.COSC.GOV [198.94.103.34]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA15024 for ; Wed, 29 Nov 1995 11:55:55 -0800 Received: (from vince@localhost) by apollo.COSC.GOV (8.6.12/8.6.9) id LAA01873; Wed, 29 Nov 1995 11:52:41 -0800 Date: Wed, 29 Nov 1995 11:52:41 -0800 (PST) From: -Vince- To: Joerg Wunsch cc: Yog Sothoth , freebsd-current@freebsd.org Subject: Re: select() and setrlimit() broken (fwd) In-Reply-To: <199511290807.JAA14211@uriah.heep.sax.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org Precedence: bulk On Wed, 29 Nov 1995, J Wunsch wrote: > As Yog Sothoth wrote: > > > > btw, my chatline program worked "properly" on FreeBSD 2.0.5, 2.0 > > and previous versions 1.5.1.1 (or whatever version that novell > > doesn't want anybody using). > > I've just verified: the file sys/kern/sys_generic.c (that contains > select(2)) hasn't changed between 2.0.5 and 2.1. select() ends up in > a call to tsleep(). In your case (no timeout requested), tsleep() is > being passed a timo value of 0, which prevents it from installing a > timeout (so it's just doing a sleep). > > Again: i cannot see anything changed between 2.0.5 and 2.1 here. Hmmm, could it be that it's just a change between 2.0.5 and -current? Cheers, -Vince- vince@COSC.GOV - GUS Mailing Lists Admin - http://www.COSC.GOV/~vince UC Berkeley AstroPhysics - Electrical Engineering (Honorary B.S.) Chabot Observatory & Science Center - Board of Advisors Running FreeBSD - Real UN*X for Free! Linda Wong/Vivian Chow/Hacken Lee/Danny Chan/Priscilla Chan Fan Club Mailing Lists Admin