From: Don G (dongryphon_at_[hidden])
Date: 2005-04-23 00:26:18
> Peter Dimov wrote:
>>Michel André wrote:
>> Should several pending reads be allowed? I have
>> leaned back and forth on this issue in a previous
>> platform specific async com library I wrote.
> Definitely; a server that has N active connections
> might have up to N reads active at any time. Not
> on the same socket, of course. :-)
If I understood Michel's question correctly, then your answer would
be "no". As would mine.
There's the question of need (which, IMO is close to 0) plus the
added complexity of explaining/managing FIFO read order; and don't
forget multiple threads making simultaneous reads - just say NO. :)
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk