pub fn enable_core_scheduling() -> Result<()>
Expand description

Enable experimental core scheduling for the current thread.

If successful, the kernel should not schedule this thread with any other thread within the same SMT core. Because this is experimental, this will return success on kernels which do not support this function.