TaskGroup and Parallelism

Thanks, this leads up to the follow up question: how/when does the default executor / new GCD fixed-width queue choose when to use the threads available for that queue?

Or in other word, if I have a trivial app using a task group as above, with no other work being done by any other tasks (on an idle system), will the default executor end up using one or multiple threads in practice?

I still think the conduit between the concurrency model and actual cpu core execution is a bit opaque on how it actually works - I don’t want to overcommit threads, but I’d like to ensure that the full fixed-width gcd queue definitely is used.

I don’t think the dispatch code yet have been released with the implementation, so any insight appreciated.

(This related to the previous question here: https://forums.swift.org/t/swift-concurrency-threading-model-questions )