select on null stream

From: Stefano Novello <stefano.novello_at_parc-technologies.com>
Date: Fri 12 Oct 2001 02:28:45 PM GMT
Message-ID: <0B9686DD2E83D411B67200508B9A9DA2459D6D@LON-SRV2>
Select is not documented to work on null streams but it does not raise
error 141
   141 --- Not implemented for this stream class on this system.

However it does say data is available

[poll 18]: select([null], 0, K).

K = [null]
Yes (0.00s cpu)

But of course no data is available

[poll 19]: get(null,K).

K = -1
Yes (0.00s cpu)
[poll 20]: 

I believe it should work on the null stream and always return that no
data is available.

Stefano

2nd Floor The Tower Building	EMAIL:
Stefano.Novello@parc-technologies.com
11 York Road                      TEL: +44 (0)20 75948461
SE1 7NX LONDON                    

This e-mail message is for the sole use of the intended recipient(s) -
its contents are the property of Parc Technologies Limited (or its
licensors) and are confidential. Please do not copy, review, use (except
for the intended purposes), disclose or distribute the e-mail or its
contents or allow anyone else to do so without our prior permission. 
Parc Technologies Limited does not guarantee that this e-mail has not
been intercepted and amended nor that it is virus-free. You should carry
out your own virus checks before opening any attachment. Any opinions
expressed in this e-mail message are those of the author and not
necessarily Parc Technologies Limited.
Limited. 

 
Received on Fri Oct 12 15:28:27 2001

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:08:10 PM GMT GMT