mirror of
https://git.rtems.org/rtems-docs/
synced 2025-05-15 14:17:11 +08:00
c-user: Fix typo "cod" -> "code"
This commit is contained in:
parent
ad16b373f3
commit
bc66c95900
@ -864,12 +864,13 @@ this message queue.
|
|||||||
|
|
||||||
If the calling task chooses to return immediately and the queue is empty, then
|
If the calling task chooses to return immediately and the queue is empty, then
|
||||||
the directive returns immediately with the :c:macro:`RTEMS_UNSATISFIED` status
|
the directive returns immediately with the :c:macro:`RTEMS_UNSATISFIED` status
|
||||||
cod. If the calling task chooses to wait at the message queue and the queue is
|
code. If the calling task chooses to wait at the message queue and the queue
|
||||||
empty, then the calling task is placed on the message wait queue and blocked.
|
is empty, then the calling task is placed on the message wait queue and
|
||||||
If the queue was created with the :c:macro:`RTEMS_PRIORITY` option specified,
|
blocked. If the queue was created with the :c:macro:`RTEMS_PRIORITY` option
|
||||||
then the calling task is inserted into the wait queue according to its
|
specified, then the calling task is inserted into the wait queue according to
|
||||||
priority. But, if the queue was created with the :c:macro:`RTEMS_FIFO` option
|
its priority. But, if the queue was created with the :c:macro:`RTEMS_FIFO`
|
||||||
specified, then the calling task is placed at the rear of the wait queue.
|
option specified, then the calling task is placed at the rear of the wait
|
||||||
|
queue.
|
||||||
|
|
||||||
.. rubric:: RETURN VALUES:
|
.. rubric:: RETURN VALUES:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user