Hacker News new | ask | show | jobs
by trentnelson 876 days ago
I'm curious if anyone knows how the new threadpool primitives introduced in Vista fair in Wine/proton? Do games simply not use any of these APIs? (That's surprisingly, the threadpool stuff is easily one of the best pieces with no comprehensive counterpart on other platforms.)
1 comments

I'm sure people use thread pools for things like loading files off disk, but in general you have tasks with predictable loads that you can just dedicate threads to. You're rendering the game at a certain frame rate, playing audio, and at least somewhat predictable networking load.