Y
Hacker News
new
|
ask
|
show
|
jobs
by
mikko-apo
1039 days ago
JDK21 has structured concurrency. It works with virtual threads so the main task will be moved aside (from the OS thread) until the sub tasks finnish.
https://www.infoq.com/news/2023/06/structured-concurrency-jd...
1 comments
kimi
1039 days ago
Yes, that's what I was referring to.
link