Menu

#38 Scheduling policy values do not match pthread/Posix values

1.2.0.0
closed
None
2014-06-02
2014-05-13
Bernd Löhr
No

Scheduling policies as defined in vos_thread.h should at least match the corresponding Posix values - as the comment says! They are currently used with pthreads, anyway.

/ Thread policy matching pthread/Posix defines /
typedef enum
{
VOS_THREAD_POLICY_OTHER = 1, /
= SCHED_OTHER Default for the target system /
VOS_THREAD_POLICY_FIFO = 4, /
= SCHED_FIFO First come, first serve /
VOS_THREAD_POLICY_RR = 2 /
= SCHED_RR Round robin */
} VOS_THREAD_POLICY_T;

Discussion

  • Bernd Löhr

    Bernd Löhr - 2014-06-02
    • status: open --> accepted
    • assigned_to: Bernd Löhr
     
  • Bernd Löhr

    Bernd Löhr - 2014-06-02
    • status: accepted --> closed
     
  • Bernd Löhr

    Bernd Löhr - 2014-06-02

    Fixed in Rev 1220

     

Log in to post a comment.

MongoDB Logo MongoDB