ARM Technical Support Knowledge Articles

ORDER OF TASKS WAITING ON SEMAPHORE

Applies to: RTX51 Real-time Kernel

Answer


Information in this article applies to:


QUESTION

I have several tasks with different priorities that are waiting on a semaphore. When the semaphore becomes available, which task is started first?

ANSWER

RTX51 handles the semaphore wait queue as a FIFO (first-in-first-out). So, the first task that requested the semaphore is the first task that gets the semaphore.

Article last edited on: 2004-05-31 11:29:58

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential