[StructuredTaskScope] Poor man's "back pressure" ?
Alan Bateman
alan.bateman at oracle.com
Mon Dec 15 20:32:18 UTC 2025
On 15/12/2025 19:29, Attila Kelemen wrote:
> If I'm understanding your problem correctly, then you can just use
> semaphores to limit the number of concurrent actions.
>
There are a few other threads to the same topic in the archives. Using a
ThreadFactory that limits concurrency is one of the options that others
were trying out.
-Alan
More information about the loom-dev
mailing list