Ticket #43 (new Bug)
Problem with General task partitioning
Reported by: | Nivala | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | Unknown |
Component: | framework | Version: | |
Keywords: | Cc: |
Description
When you have task set which has minimum amount of required processors (you can do this by having task set which needs at least two processors. You have just one processor, it cannot be scheduled. Then you add processors until task set can be scheduled. Dont add processors anymore, but try to run scheduling for second time. It doesnt work anymore, somehow function loses one processor from processors list and requires you to add one more processor.
If you have one processor in processor list more than function really requires to run, you can run General task function as many times as you want(it just loses one processor). If you remove Sort(Result_Tasks, Increasing_Period'access); line from Multiprocessor_services.adb file, and from start of subprogram Rm_General_Tasks, this problem shouldnt exist anymore(this line is needed to make tasks to increasing period order, as Condition-IP function requires).