2 ms·
I mean, if your thread pool has 10 threads available, and your code attempts to run an 11th thread, you can run into a deadlock. Whereas that same code written
by lacker 7y ago
I mean, if your thread pool has 10 threads available, and your code attempts to run an 11th thread, you can run into a deadlock. Whereas that same code written with async/await can run fine.
You can call that "going wild with threads" but in an async/await model it is often just fine to use that many async calls.