Skip to content
Commit a618d6ff authored by Krzysztof Chruściński's avatar Krzysztof Chruściński Committed by Christopher Friedt
Browse files

logging: Improve algorithm for waking up the thread



Use value returned by atomic_inc to decide on action.
Previously direct value was used and that could lead to
delays in logging processing because thread waking up
could be mishandled.

Signed-off-by: default avatarKrzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
parent 02275d80
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment