[haiku-bugs] Re: [Haiku] #2817: setpriority and getpriority are missing to compile ocaml out of the box under Haiku

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Thu, 15 Jan 2015 07:49:51 -0000

#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:  Unscheduled
  Component:  System/POSIX  |    Version:  R1/Development
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  All
----------------------------+----------------------------
Changes (by pulkomandy):

 * blocking:  11755 =>


Comment:

 There is a limitation with the approach you implemented in these patches:
 the priority only applies to existing threads. As discussed in this
 ticket, a better solution would be to have a process-global "nice" value
 and also use it when creating new threads to adjust their priorities.

--
Ticket URL: <https://dev.haiku-os.org/ticket/2817#comment:15>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: