Skip to content

Commit

Permalink
set_thread_policyand priority use realtime mechanism for all
Browse files Browse the repository at this point in the history
  • Loading branch information
biabbas committed Oct 14, 2024
1 parent d2fd276 commit 4cc48f5
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 @@ -602,7 +602,7 @@ pub fn set_thread_priority_and_policy(
// On macOS and iOS it is possible to set the priority
// this way.
if matches!(policy, ThreadSchedulePolicy::Realtime(_))
|| cfg!(any(target_os = "macos", target_os = "ios"))
|| cfg!(any(target_os = "macos", target_os = "ios", target_os = "vxworks"))
{
// If the policy is a realtime one, the priority is set via
// pthread_setschedparam.
Expand Down

0 comments on commit 4cc48f5

Please sign in to comment.