U
Uwe Mayer
Hi,
I use select() to wait for a file object (stdin) to become readable. In that
situation I wanted to read everything available from stdin and return to
the select statement to wait for more.
However, the file object's read method blocks if the number of bytes is 0 or
negative.
Is there no way to read everything a channel's got currently got without
blocking?
Uwe
I use select() to wait for a file object (stdin) to become readable. In that
situation I wanted to read everything available from stdin and return to
the select statement to wait for more.
However, the file object's read method blocks if the number of bytes is 0 or
negative.
Is there no way to read everything a channel's got currently got without
blocking?
Uwe