#scheduler-priority #sched #affinity

scheduler

Binding to set the linux scheduler (priority, policy, affinity, &c.)

7 releases

Uses old Rust 2015

0.1.3 Aug 11, 2016
0.1.2 Aug 11, 2016
0.1.1 Feb 9, 2016
0.1.0 Dec 23, 2015
0.0.3 Apr 23, 2015

#736 in Unix APIs

Download history 173/week @ 2025-08-24 200/week @ 2025-08-31 288/week @ 2025-09-07 396/week @ 2025-09-14 305/week @ 2025-09-21 427/week @ 2025-09-28 284/week @ 2025-10-05 395/week @ 2025-10-12 382/week @ 2025-10-19 368/week @ 2025-10-26 355/week @ 2025-11-02 489/week @ 2025-11-09 475/week @ 2025-11-16 251/week @ 2025-11-23 513/week @ 2025-11-30 1129/week @ 2025-12-07

2,423 downloads per month

MIT license

15KB
329 lines

Bindings to sched.h and sys/resource.h

Just enough to set the scheduler priority.


scheduler

Minimal bindings for working with the linux scheduler.

Currently only binds:

  • sched_setscheduler
  • sched_getscheduler
  • setpriority
  • getpriority
  • sched_setaffinity
  • sched_getaffinity

Dependencies

~0–1.8MB
~33K SLoC