Skip to content
Commit d361ec96 authored by TaiJu Wu's avatar TaiJu Wu Committed by Anas Nashif
Browse files

kernel: message does not execute correct put front behavior



When the buffer is full, Thread A gets pended (blocked).
If Thread B later calls the get function, it will unpend Thread A,
allowing it to resume and put the message into the queue.
In this situation, we need to know whether Thread A should
continue with put to front or put to end.

In order to resolve this issue, we don't allow set timeout
parameter for `k_msgq_put_front` and this parameter is always
`K_NO_WAIT`.

Signed-off-by: default avatarTaiJu Wu <tjwu1217@gmail.com>
parent 2284bc2f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment