HomeFreeBSD

Add real sched.h

Description

Add real sched.h

It is required by IEEE Std 1003.1-2008 AKA POSIX.

Put some Linux compatibility stuff under BSD_VISIBLE namespace, in
particular, sys/cpuset.h definitions. Also, if user really want
Linux compatibility, she can request cpu_set_t typedef with
_WITH_CPU_SET_T define.

Reviewed by: jhb
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D32901

Details

Provenance
kibAuthored on Oct 22 2021, 3:17 PM
Reviewer
jhb
Differential Revision
D32901: sched.h, sched_getcpu(), sched_get/setaffinity()
Parents
rGe5adb145f06e: Remove arm/linux from sysent toplevel target
Branches
Unknown
Tags
Unknown