I have a CPU intensive function that I have no control over. When it runs, it runs only on one core. I do have it on a separate thread from the main thread. But since I have no control over the function, I can’t spread it over more threads to force it to use more cores. Any suggestions on how to spread it across more cores?
↧