This MR updates the implementation of thread priority and core binding.
Thread priority and core binding is now set by the thread creator, rather than within the created thread.