Skip to content
Commit 74d61fe7 authored by Jaxson Han's avatar Jaxson Han Committed by Stephanos Ioannidis
Browse files

tests: kernel: semaphore: sys_sem: Fix coherence issue



The issue is caused by multiple threads which have taken the semaphore
to increase or decrease the normal count variable. Change its type with
atomic_t.

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