[Bug 1906] CBS scheduler implementation

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Mon Sep 12 07:43:43 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1906

Marta Rybczynska <marta.rybczynska at kalray.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marta.rybczynska at kalray.eu

--- Comment #5 from Marta Rybczynska <marta.rybczynska at kalray.eu> 2011-09-12 02:43:41 CDT ---
Additional comments:
1. _Scheduler_CBS_Initialize: no check if _Workspace_Allocate fails
2. Same in _Scheduler_CBS_Create_server
3. _Scheduler_CBS_Detach_thread: NULL pointer dereference in the line
sched_info = (Scheduler_CBS_Per_thread *) the_thread->scheduler_info;
(the_thread may be NULL)
4. _Scheduler_CBS_Get_approved_budget: no check on approved_budget
5. In _Scheduler_CBS_Get_execution_time: can the_thread be NULL?
6. _Scheduler_CBS_Get_remaining_budget: can the_thread be NULL?
7. Usage of _Thread_Change_priority: are you sure it won't create recursion?

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list