kernel/mbox: Spinlockify
Straightforward per-struct-k_mbox lock. Nothing changes in locking strategy. Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
This commit is contained in:
parent
7df0216d1e
commit
9eeb6b8779
2 changed files with 15 additions and 15 deletions
|
@ -3449,6 +3449,7 @@ struct k_mbox_msg {
|
|||
struct k_mbox {
|
||||
_wait_q_t tx_msg_queue;
|
||||
_wait_q_t rx_msg_queue;
|
||||
struct k_spinlock lock;
|
||||
|
||||
_OBJECT_TRACING_NEXT_PTR(k_mbox)
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue