You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Erik Earle <er...@hotmail.com> on 2004/02/19 01:40:24 UTC

Disconnecting Socket from the handling thread

I've had a decent inital look at the source for Tomcat 5.0 to see if I could 
quickly answer this myself but I thought since I haven't quite figured it 
out yet, I'd ask the experts.

I have an application that wants to handle the socket (or higher level 
objects: req, resp) using it's own thread pool.

Is there an easy way to decouple the socket from the ControlRunnable and 
hand it off to another thread (and return the initial thread back to the 
pool)

...without writing my own Connector?

_________________________________________________________________
Get fast, reliable access with MSN 9 Dial-up. Click here for Special Offer! 
http://click.atdmt.com/AVE/go/onm00200361ave/direct/01/


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


Re: Disconnecting Socket from the handling thread

Posted by Bill Barker <wb...@wilshire.com>.
----- Original Message -----
From: "Erik Earle" <er...@hotmail.com>
To: <to...@jakarta.apache.org>
Sent: Wednesday, February 18, 2004 4:40 PM
Subject: Disconnecting Socket from the handling thread


> I've had a decent inital look at the source for Tomcat 5.0 to see if I
could
> quickly answer this myself but I thought since I haven't quite figured it
> out yet, I'd ask the experts.
>
> I have an application that wants to handle the socket (or higher level
> objects: req, resp) using it's own thread pool.
>
> Is there an easy way to decouple the socket from the ControlRunnable and
> hand it off to another thread (and return the initial thread back to the
> pool)
>
> ...without writing my own Connector?
>

No.

> _________________________________________________________________
> Get fast, reliable access with MSN 9 Dial-up. Click here for Special
Offer!
> http://click.atdmt.com/AVE/go/onm00200361ave/direct/01/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>