Filip Hanik - Dev Lists wrote:
Remy Maucherat wrote:
Filip Hanik - Dev Lists wrote:
We're doing pretty well with Comet, the only thing comet is missing
is a non blocking write.
It is possible to do that without changing the API, in case it is
needed. It has a possibly significant cost however (buffering all data
which cannot be sent right away), so I am not sure it is a very good
idea.
I need to think about this one for a bit. the NIO connector supports non
blocking write, ie, if it can't be written it wont, I am just starting
to noodle on how this can be done in an easy-to-use-API way if you know
what I mean. Is there an API for APR to ask "can I write without block?"?
Yes, it's easy, but I am not convinced there's a real need right now
(and as it introduces possibly heavy resource costs). Since it can be
transparent, it is possible to experiment.
Rémy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]