6.19 void rtkSemaphoreVNoCS(struct Semaphore *s)

This function is almost the same as rtkSemaphoreV, except that it does not cause any context switch even the operation unblocks a thread of a higher priority.

This function should be used instead of rtkSemaphoreV if an ISR is to unblock a waiting thread.

Because no context switch is immediately triggered by this function, it always returns normally. Then it is up to one of the following mechanisms to trigger a context switch to an unblocked thread:



Copyright © 2008-10-25 by Tak Auyeung