Skip to content
Commit 45705a84 authored by Xiaolu Sun's avatar Xiaolu Sun Committed by Anas Nashif
Browse files

logging: fix log buffer pending while it is definitely full



The buffer flags MPSC_PBUF_FULL is a shared resource to determine
whether the buffer is available. When processing drop messages,
the flag will be cleared first and then set, add spin lock protection.

Signed-off-by: default avatarXiaolu Sun <xiaolu.sun@intel.com>
parent f9405341
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment