tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Hall <rfha...@yahoo.com>
Subject RE: Comet and thread binding
Date Thu, 07 Jan 2010 09:18:14 GMT


--- On Thu, 1/7/10 at 12:02 AM, tbee <tbee@tbee.org> wrote:

> 
> Yes. But the problem with comet is that it may switch
> threads "mid request";
> a request can be suspended, the thread freed up, and after
> a while the
> request is resumed, but by probably a different thread. So
> I cannot bind the
> request to the thread anymore.

I don't have much Comet experience but given that it can pause and resume
processing of a given request, would it be possible to bind your execution
context to that 'request' and re-bind it to the 'new' Thread when request
processing resumes?

- Bob


      

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


Mime
View raw message