[okl4-developer] About blocking a thread
kashin Lin
kashin08 at gmail.com
Sat Jul 12 19:19:30 EST 2008
Hi,
the scenario is:
A thread needs to wait a flag to be turned on. instead of polling it, the
thread block itself (yeild CPU).
when the flag is on, another thread or ISR wake up the thread. thus the
thread can continue it processing.
does OKL4(Iguana) support the blocking operation?
ex: yeild cpu, and the thread is moved to a wait_queue.
wake up, then the thread is moved back to run queue to be scheduled
p.s. i want to implement it in a iguana application.
best regards,
kashin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.okl4.org/pipermail/developer/attachments/20080712/f2702695/attachment.htm
More information about the Developer
mailing list