#1 set schedulig policy before setting scheduling param

open
nobody
None
5
2010-07-23
2010-07-23
Gowrishankar
No

With new glibc versions, it is must to have set scheduling policy
before modifying scheduling parameters. That said,
pthread_attr_setschedpolicy() has to be called before calling
pthread_attr_setschedparam().

Signed-off-by: Gowrishankar <gowrishankar.m@in.ibm.com>
Tested-by: Gowrishankar <gowrishankar.m@in.ibm.com>

Discussion

  • Gowrishankar
    Gowrishankar
    2010-07-23

    patch to reorder pthread functions for scheduler param

     
    Attachments