tpie
tpie copied to clipboard
Use lower OS priority to worker threads
It seems that Boost does not have this feature, so we'll have to use pthread-specific and Windows-specific syscalls to do this.
http://stackoverflow.com/a/7659469 mentions http://sourceforge.net/projects/threadutility/ which supposedly has priority-changing code for both platforms. See also http://stackoverflow.com/q/601337