tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tbee <t...@tbee.org>
Subject RE: Comet and thread binding
Date Thu, 07 Jan 2010 08:02:18 GMT



Bob Hall wrote:
> 
> Have you considered using ThreadLocal?
> 

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.
-- 
View this message in context: http://old.nabble.com/Comet-and-thread-binding-tp27026574p27056330.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Mime
View raw message