[Prev][Next][Index][Thread]

CPU_INHERIT: One more mistake



Hi,

There is yet another error which prevent to compile OSKit(20020317) with

CPU_INHERIT option. Namely, field 'scheduler' in struct
'pthread_thread'
defined as

#ifdef  CPU_INHERIT
        /*
         * CPU inheritance support.
         */
        struct pthread_thread   *scheduler;     /* The threads scheduler
*/
....

Struct 'pthread_thread' does not have fields of struct
'scheduler_entry'.
So, We get following error:

pthread_setschedparam.c: In function `pthread_setschedparam':
pthread_setschedparam.c:33: structure has no member named
`check_schedstate'.

Best regards,
Andrew Lipnitsky.