Skip to content

Commit

Permalink
Code cleanup in threadtools.c.
Browse files Browse the repository at this point in the history
  • Loading branch information
nkallima committed Feb 14, 2024
1 parent c3c8c99 commit a97eefd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libconcurrent/primitives/threadtools.c
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,7 @@ inline int32_t synchGetPosixThreadId(void) {
}

inline void synchResched(void) {
if (__noop_resched && synchGetMachineModel() != INTEL_X86_MACHINE) {
;
} else if (__noop_resched) {
if (__noop_resched) {
synchPause();
} else if (__uthread_sched) {
synchFiberYield();
Expand Down

0 comments on commit a97eefd

Please sign in to comment.