Skip to content

Commit

Permalink
fixed more linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua-qnx committed Mar 22, 2021
1 parent 7f3ce25 commit 3a428dc
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,10 @@ bool configure_native_thread(T native_handle, ThreadPriority priority, int cpu_i
run_mask <<= cpu_id;

// Function used to change thread affinity of thread associated with native_handle
if (ThreadCtlExt(0, native_handle, _NTO_TCTL_RUNMASK, reinterpret_cast<void*>(run_mask)) == -1) {
if (ThreadCtlExt(
0, native_handle, _NTO_TCTL_RUNMASK,
reinterpret_cast<void*>(run_mask)) == -1)
{
success &= 0;
} else {
success &= 1;
Expand Down

0 comments on commit 3a428dc

Please sign in to comment.