setpriority and getpriority are missing to compile ocaml out of the box under Haiku
|Reported by:||oco||Owned by:||nobody|
setpriority and getpriority are not yet implemented. There is a TODO in posix/sys/resource.h.
Does the algorithm used in the renice command line tool (in src/bin) could be used in lib root ?
Basically, renice iterate over threads of a team to set the thread priority on each one. A basic conversion function adapt the unix priority to a beos thread one.
If so, maybe i can try to implement this.
This is the only thing missing to compile ocaml out of the box under Haiku (after updating the usual config.sub and config.guess).
Change History (26)
by , 5 years ago