3 ms·
If Loom isn't adding cancellation tokens to the core library then its going to be a major difference. That said, the Java way was already for runnables to canc
by jayd16 6y ago
If Loom isn't adding cancellation tokens to the core library then its going to be a major difference. That said, the Java way was already for runnables to cancel themselves with some kind of volatile cancel bool so I expect that's all we'll get.
From the article: >Clearly the intent is also to cancel the child thread. And this is exactly what happens.
I find this to be a bold choice. In C# you can detach children and such. Should be interesting to see if this gets added later.