Tool/software: TI-RTOS
The TI RTOS documents says the event_post function unblocks the task which is waitting for the event, In my understand, if task one post a event ,while task two is pending that evevt, then task two will take charge the CPU, after task two is done, task one will retake the CPU. which confuse me is , does the task priority influence this procedure?
The TI RTOS documents slao says the semaphore_post function readies the first task waiting for the semaphore.if task one post a semaphore,while task two is pending that semaphore, task two will not take CPU if task is still running, am i right?