scheduler changes in rc1

Der Herr Hofrat <[email protected]>
Newsgroups gmane.linux.real-time.rtlinux.general
Message-ID <[email protected]>
Hi !

 priority protection was broken in rc1 - should be fixed again.
 also changing thread priorities was not handled corectly because the
 scheduler in rc1 is sorted by priorities and was not being resorted
 properly on priority changes (sorry - my bug).

 if you are using rc1 pleas pull the cvs - priority changes with
 pthread_setschedpriority(pthread_self(),new_priority);
 should be ok now (let me know if you have cases where it is not ok!).

 The changes are in scheduler/rtl_sched.c and include/rtl_sched.h and
 for priority protection in scheduler/rtl_mutex.c . For details of the
 changes pleas use

   cvs diff -r 1.3 -r 1.4 scheduler/rtl_sched.c
   cvs diff -r 1.3 -r 1.4 scheduler/rtl_mutex.c

 pthread_setschedpriority is now in rtl_sched.c (not in rtl_sched.h)
 it now removes the task from the task list and adds it in with the
 new priority again.
 
 comments/problem reports with rc1 would be appreciated.

thx !
hofrat
_______________________________________________
Rtl mailing list
[email protected]
http://www2.fsmlabs.com/mailman/listinfo/rtl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.