mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-01 03:53:33 +00:00
f7c7b949fd
Justine says nay for the time being. Only XNU implements this. It's not clear what ABI XNU is using but it's obviously not the one in the POSIX documentation link below. Since all platforms implement vfork, it might be better to empirically gauge the intersection of consensus which will have better performance than this interface. https://pubs.opengroup.org/onlinepubs/009696699/xrat/xsh_chap03.html
14 lines
491 B
C
14 lines
491 B
C
#ifndef COSMOPOLITAN_LIBC_CALLS_SCHED_H_
|
|
#define COSMOPOLITAN_LIBC_CALLS_SCHED_H_
|
|
#include "libc/calls/struct/sched_param.h"
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
COSMOPOLITAN_C_START_
|
|
|
|
int sched_setscheduler(int, int, const struct sched_param *);
|
|
int sched_getscheduler(int);
|
|
int sched_setparam(int, const struct sched_param *);
|
|
int sched_getparam(int, struct sched_param *);
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
#endif /* COSMOPOLITAN_LIBC_CALLS_SCHED_H_ */
|