Fast graceful shutdown of ThreadPerTaskExecutor (when expected WAITING Threads)

Arnaud Masson arnaud.masson at fr.ibm.com
Wed Dec 21 14:58:09 UTC 2022


> The way to interrupt sockets has always been to close them. Then blocking methods will throw an exception.

I didn’t test but I was hoping that “JEP 353: Reimplement the Legacy Socket API” made classic socket API interruptible (like NIO) .
This would make socket API so much more consistent with other blocking stuff.

Arnaud

Unless otherwise stated above:

Compagnie IBM France
Siège Social : 17, avenue de l'Europe, 92275 Bois-Colombes Cedex
RCS Nanterre 552 118 465
Forme Sociale : S.A.S.
Capital Social : 664 069 390,60 €
SIRET : 552 118 465 03644 - Code NAF 6203Z
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20221221/c41df4d4/attachment.htm>


More information about the loom-dev mailing list