I have a problem with tasks switching
for example I have created three tasks in priority based pre-emption the highest priority task will run when it goes to suspended state or when it compleates scheduling switches to the next high priority task, but i want that the running task to be suspended and scheduling switches to the next high priority ready task after some defined time let us say 100ms. Then next task is to run for some time let us say50ms then it has to give scheduling to the next ready high priority task
summary of problem
In Priority based Pre-emption1st high priority ready task runs for 100ms then it suspends 2nd high priority ready task runs for 50ms then it suspends 3rd high priority ready task runs for 200ms then it suspends
this above senario has to be continue for ever
please give me some suggestions how to implement this.
NOTE: I am using VxWorks RTOS
Regards Saidulu.E firstname.lastname@example.org