#2817: setpriority and getpriority are missing to compile ocaml out of the box under Haiku ---------------------------+------------------------------ Reporter: oco | Owner: nobody Type: enhancement | Status: new Priority: normal | Milestone: R1 Component: System/POSIX | Version: R1/Development Resolution: | Keywords: Blocked By: | Has a Patch: 0 Platform: All | Blocking: ---------------------------+------------------------------ Comment (by bonefish): Replying to [comment:8 leavengood]: > Alright so the only difference between what you suggest and what is done in renice is the pthread scheduling priority it taken into account. The main difference is that the nice value would be stored in the kernel team structure. > OK I'll probably take a crack at it over the weekend and either I could attach a patch here or just commit it and it can be reviewed on the commit list. It is not like it could break anything. Well, it's a kernel change and, though not really complicated, it certainly isn't a no-brainer either. So I don't quite agree that there isn't any potential for breakage. Anyway, it's not like others don't break stuff on a regular basis, and reverting the change is always an option. :-) -- Ticket URL: <http://dev.haiku-os.org/ticket/2817#comment:9> Haiku <http://dev.haiku-os.org> Haiku - the operating system.