Skip to content
Commit d489ec08 authored by Jaxson Han's avatar Jaxson Han Committed by Chris Friedt
Browse files

lib: posix: mutex: to_posix_mutex should be spinlocked



to_posix_mutex allocates a mutex which will race to change the value of
the lock, thus to_posix_mutex should be performed under the spinlock to
prevent the racy issue.

Signed-off-by: default avatarJaxson Han <jaxson.han@arm.com>
parent 99ab1ab0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment