Filip,

Thanks for the reply.

> You can do the actions on the worker thread or on your own thread.

Can you clarify your terminology here please? Is the "worker thread"
then one where the event() method is running? Can there be more than
one of those threads that are running the event() method for one
servlet, so that under load I'll see my one servlet's event() method
running on more than one thread? If this is the case, what
configuration items control this threading?

> You can read non blocking when you receive a READ event by calling 
> available()>0 before you do a read.

When handling READ events, can I do one read before checking
available()>0 or is it possible that READ may have fired but
available()==0? I ask because I think I saw at least one sample where
one read is done before checking available()>0...

Thanks in advance!

Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to