Skip to content

Commit c1882cf

Browse files
committed
switch sched name for android
1 parent be2f549 commit c1882cf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sched.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,8 @@ mod sched_priority {
390390
/// See [man_sched(7)](https://man7.org/linux/man-pages/man7/sched.7.html) for more details
391391
/// on the differences in behavior.
392392
pub enum Scheduler {
393-
/// The default scheduler on non-realtime linux - also known as SCHED_NORMAL.
394-
SCHED_OTHER,
393+
/// The default scheduler on non-realtime linux - also known as SCHED_OTHER.
394+
SCHED_NORMAL,
395395
/// The realtime FIFO scheduler. All FIFO threads have priority higher than 0 and
396396
/// preempt SCHED_OTHER threads. Threads are executed in priority order, using
397397
/// first-in-first-out lists to handle two threads with the same priority.

0 commit comments

Comments
 (0)