Hi all, what do you think on the following synchronisation problem: - two DSP/BIOS task objects (TSK_A and TSK_B) have the same priority (e.g. Priority 1) - TSK_A is running (its execution state: TSK_RUNNING) - TSK_B is ready (its execution state: TSK_READY) - interrupt occurs, interrupt handler uses HWI_enter / HWI_exit macros Questions: Which tasks (TSK_A os TSK_B) gets control after returning from interrupt? Can it happen that instead of interrupted TSK_A the other task (TSK_B) gets the control while TSK_A gets TSK_READY state? Thanks Gabor |
DSP/BIOS TSK scheduler
Started by ●November 20, 2001