Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Nov 1995 09:07:03 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        death@apollo.COSC.GOV (Yog Sothoth)
Cc:        freebsd-current@freebsd.org
Subject:   Re: select() and setrlimit() broken (fwd)
Message-ID:  <199511290807.JAA14211@uriah.heep.sax.de>
In-Reply-To: <199511282334.PAA14029@apollo.COSC.GOV> from "Yog Sothoth" at Nov 28, 95 03:34:54 pm

next in thread | previous in thread | raw e-mail | index | archive | help
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.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511290807.JAA14211>