to implement priority ceiling protocol in freertos

Closed Posted Mar 28, 2014 Paid on delivery
Closed Paid on delivery

i need to implement a priority ceiling protocol with priority inheritance with following allocation rule :

If R (mutex) is free :

1) If priority of Task J is > ceilings priority of all other resources currently acquired by other jobs then allocate R to J.

2)if J is the job holding the resource(s) whose priority ceiling = P(t), allocate R to J

3) otherwise :request denied and blocked J.

Also, if a lower priority task is holding mutex and a higher priority request the mutex then it is blocked if its priority is less than ceilings priority of all other resources currently acquired by other jobs then lower priority inherits the priority of requested task(priority inheritance).

RTOS

Project ID: #5732913

About the project

Remote project Active May 4, 2014