On 13/12/2012, at 4:57 PM, john skaller wrote:
> I'm thinking of extending the capabilities of schannels.
...
> ready_to_read: schannel -> bool
Unfortunately .. I cannot see how to use this.
Suppose you have two channels and check each one
to see if it's ready to read.
Ok, so neither of them
I'm thinking of extending the capabilities of schannels.
At the moment schannels support two operations: read and write.
An schannel is just a list of fibes, all of which are either
readers or writers waiting for another fibre to do a matching
write or read (resp).
If there are (say) miltiple wr