Problem with SCHED_FIFO

Qeltaras <[email protected]> Tue, 26 Apr 2005 13:00:55 +0200
Newsgroups gmane.linux.real-time.rtlinux.general
Message-ID <[email protected]>
Hi, 
I've a little bit problem, 
I created a thread, and i set the sched param:

pthread_setschedparam(pthread_self(), SCHED_FIFO, &p)
it don't retourn error!

but i I'use the function:
pthread_getschedparam(pthread_self(), &check_policy, &check_param);
the polici is not SCHED_FIFO but check_policy = -524329792.

Can you help me?

thank you

    Nicola

_______________________________________________
Rtl mailing list
[email protected]
http://hq.fsmlabs.com/mailman/listinfo/rtl
http:/www.rtlinux-gpl.org/