Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2007 15:23:14 +0200
From:      des@des.no (Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?=)
To:        MQ <antinvidia@gmail.com>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: A problem with the select(2) interface
Message-ID:  <86fy5wkim5.fsf@dwp.des.no>
In-Reply-To: <be0088ce0705160559y4c312c7aqcc45cdd81f8f0323@mail.gmail.com> (antinvidia@gmail.com's message of "Wed\, 16 May 2007 20\:59\:19 %2B0800")
References:  <be0088ce0705140729m4c24f2cbr21f6f050aac75c89@mail.gmail.com> <86odknqvf3.fsf@dwp.des.no> <be0088ce0705150025q3a589369ib20d03cfe5de1520@mail.gmail.com> <86wszah2ua.fsf@dwp.des.no> <be0088ce0705160559y4c312c7aqcc45cdd81f8f0323@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
MQ <antinvidia@gmail.com> writes:
> No, that is not what I want. I think we'd better add a comments that
> we *DO NOT WRITE TO THAT ADDRESS*, what the manual describes is that
> there may be some platforms which write to that address. It's not the
> same thing.

Some platforms update the timeval and some don't, so portable
applications must simply assume that its contents are undefined after
the select(2) call.  It can not be relied on to contain either the
initial value nor the amount of time remaining.  Thus your proposed
change is pointless.

And stop yelling, please.  It won't get you anywhere (except possibly my
kill file).

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



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