Skip to content

Commit

Permalink
modify to_posix to return toallowedvalue for policy
Browse files Browse the repository at this point in the history
  • Loading branch information
biabbas committed Oct 14, 2024
1 parent 2ebc7ba commit c252faa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vxworks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ impl ThreadPriority {
// for the SCHED_OTHER policy.
// <https://www.usenix.org/legacy/publications/library/proceedings/bsdcon02/full_papers/gerbarg/gerbarg_html/index.html>
#[cfg(all(
any(target_os = "macos", target_os = "ios"),
any(target_os = "macos", target_os = "ios", target_os = "vxworks"),
not(target_arch = "wasm32")
))]
ThreadSchedulePolicy::Normal(_) => {
Expand Down

0 comments on commit c252faa

Please sign in to comment.