Email or username:

Password:

Forgot your password?
Top-level
mcc

@neauoire I would think spawning one thread per CPU and then having them sleep until work is ready to be sent to them would be the regular way to do things

2 comments
Devine Lu Linvega

@mcc I hadn't considered to poll the number of cores to make my implementation responsive :)

Mauve 👁💜

@neauoire @mcc I usually do n-1 to leave a CPU for my OS's renderer. Else it can lock up a system something fierce if your processing is heavy enough. 😅

Go Up