Your operating system's scheduler should do this for you. Even on platforms where it is possible to choose which cpu a specific thread will run on, it is very rarely fixes any perceived problem. If it looks like only one cpu is being used, it is almost definitely because only one thread is cpu intensive.