10 Commits

Author SHA1 Message Date
Theodore Dubois
7d922884f6 Implement sched_get_priority_max
Close #436
2019-12-22 20:28:14 -08:00
Theodore Dubois
3eaedbb935 Add some scheduler API stubs
#461
2019-11-25 15:51:12 -08:00
Theodore Dubois
87a9d48002 Stub setaffinity 2019-08-11 14:36:45 -07:00
Theodore Dubois
a94a56cfb4 Rework implementation of rlimit calls
Turns out prlimit is the only call that takes a 64-bit rlimit struct.
The other ones are supposed to take a 32 bit struct, and I never noticed
any stack smashing until now because musl just uses prlimit.
2019-05-01 16:25:32 -07:00
Theodore Dubois
f5360288f3 Implement 32-bit variant of getrlimit 2019-04-21 12:17:38 -07:00
Theodore Dubois
cdd899939c Stub getpriority and setpriority 2018-12-09 17:47:25 -08:00
Theodore Dubois
6a035e9186 Fix "function declaration is not a prototype" warnings 2018-11-14 17:13:22 -08:00
Theodore Dubois
261f51ba61 Implement sched_setaffinity 2018-10-08 17:22:30 -07:00
Theodore Dubois
728ca235c0 Replace files array with fdtable structure 2018-01-15 19:18:38 -08:00
Theodore Dubois
bf3b711cdd Implement tracking of process cpu usage 2018-01-10 15:33:11 -08:00