Skip to content

tests: fix sched test under non glibc platforms

Rasmus Thomsen requested to merge Cogitri/tracker-miners:sched_scheduler into master

As mentioned in tracker#170 (closed), glibc's sched_setscheduler is rather broken and pthread functionality should be used instead. musl only exposes a stub for sched_setscheduler for this reason. tracker already correctly sets the scheduler via pthread, but it didn't adjust the tests and as such the tests still failed on musl.

Merge request reports