Thank you for the link. I am thinking about this. What I think we probably need is a kind of "non-detached thread" that is garbage-collected when there are no more references to its thread object. (It may also be called a weak thread.) SRFI 18/226 threads are all detached in some sense.
Am Mo., 10. Okt. 2022 um 18:20 Uhr schrieb John Cowan <[email protected]>: > > https://openjdk.org/jeps/428 > > The API specifics don't matter, but the explanation of what thread-runners > are about may be useful.
