You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sched_getaffinity is used in the num_cpus crate, as well as the available_concurrency feature in Rust nightly. This will help with Mustang, as reported here.
The first step is to create a struct which wraps a cpu_set_t and provides these operations as methods.
Once that's defined, sched_getaffinity should be similar to other system calls.
The text was updated successfully, but these errors were encountered:
sched_getaffinity
is used in the num_cpus crate, as well as the available_concurrency feature in Rust nightly. This will help with Mustang, as reported here.The first step is to create a struct which wraps a
cpu_set_t
and provides these operations as methods.Once that's defined,
sched_getaffinity
should be similar to other system calls.The text was updated successfully, but these errors were encountered: