You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by GitBox <gi...@apache.org> on 2020/04/20 13:04:56 UTC

[GitHub] [tomcat] govi20 edited a comment on issue #275: BZ 59203 - interrupt tomcat threads instead of stopping

govi20 edited a comment on issue #275:
URL: https://github.com/apache/tomcat/pull/275#issuecomment-616538397


   Thanks for the feedback. Looks like the first two steps are already covered in the code. Small refactoring would be to ensure interrupt is **not** called on executor thread.
   
   ```
   if (!usingExecutor && !t.isInterrupted()) {
          t.interrupt();
   }
   ```
   
   correct me if my understanding is not correct.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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