summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2023-03-21 15:38:02 -0400
committerMan, Jianting (Meco) <[email protected]>2023-03-22 01:54:52 -0400
commiteb3cb250be8fc2c68d58995e1aae88dc01d85f6e (patch)
tree4e6c241345360781969af9ebc311e2a8329744ec /documentation
parent87c57f86f73af132ed12a9092ff8c03d95d58791 (diff)
[errno code][-RT_ETIMEOUT] fix that use RT_ETIMEOUT without -
Diffstat (limited to 'documentation')
-rw-r--r--documentation/thread-comm/thread-comm.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/thread-comm/thread-comm.md b/documentation/thread-comm/thread-comm.md
index f9293b599f..4369752855 100644
--- a/documentation/thread-comm/thread-comm.md
+++ b/documentation/thread-comm/thread-comm.md
@@ -20,7 +20,7 @@ The sending process of the non-blocking mode mails can be safely used in ISR. It
When a thread sends a message to a mailbox, if the mailbox is not full, the message will be copied to the mailbox. If the mailbox is full, the thread sending the message can set a timeout, and choose to wait and suspend or return directly - RT_EFULL. If the thread sending the message chooses to suspend and wait, then when the mails in the mailbox are received and space is left open again, the thread sending the message will be awaken and will continue to send.
-When a thread receives a message from a mailbox, if the mailbox is empty, the thread receiving the message can choose whether to set a timeout or wait and suspend until a new message is received to be awaken. When the set timeout is up and the mailbox still hasn't received the message, the thread that chose to wait till timeout will be awaken and return - RT_ETIMEOUT. If there are messages in the mailbox, then the thread receiving the message will copy the 4-byte message in the mailbox to the receiving cache.
+When a thread receives a message from a mailbox, if the mailbox is empty, the thread receiving the message can choose whether to set a timeout or wait and suspend until a new message is received to be awaken. When the set timeout is up and the mailbox still hasn't received the message, the thread that chose to wait till timeout will be awaken and return -RT_ETIMEOUT. If there are messages in the mailbox, then the thread receiving the message will copy the 4-byte message in the mailbox to the receiving cache.
### Mailbox Control Block