How can I make sure N threads run at roughly the same speed? How can I make sure N threads run at roughly the same speed? multithreading multithreading