by kristiandupont · 7y ago · 0 comments
Threads are used both to schedule work across cores but also to manage waits on i/o, a server will have threads running when it is waiting for a client and a Windows or Linux or Mac has many servers running for local use.
Threads are not efficient for I/O scheduling (async/await or select or similar apps are better, but harder to code for.). They are efficient enough for your laptop to have 2000 of them.