You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0412]: cannot find type `sched_param` in crate `libc`
Target OS: OpenBSD.
The struct, as well as functions necessary for thread schedule management, should be available in OpenBSD as well as they are for NetBSD and FreeBSD. This also goes for pthread_getschedparam and pthread_setschedparam, and, probably, __errno_location.
iddm
changed the title
The sched_param structure isn't available for OpenBSD
The sched_param structure and pthread functions arent't available for OpenBSD
Mar 11, 2022
feel free to make a PR I would say, note that sched_param and related functions exist already for netbsd and ought to be shared between those two as much as possible.
MCVE
Gives
Target OS: OpenBSD.
The struct, as well as functions necessary for thread schedule management, should be available in OpenBSD as well as they are for NetBSD and FreeBSD. This also goes for
pthread_getschedparam
andpthread_setschedparam
, and, probably,__errno_location
.The documentation of libc crate for OpenBSD doesn't even have a mention of those.
Linking the issue in
thread-priority
: iddm/thread-priority#19If there is an agreement, I can provide a PR myself, just want a confirmation here.
The text was updated successfully, but these errors were encountered: