Skip to content
Commit 8a91bbf6 authored by Ying ming's avatar Ying ming Committed by Anas Nashif
Browse files

test: atomic: multiple equal priority threads access atomic variable



Add an testcase. Creat two preempt threads with equal priority to
atomiclly access the same atomic value. Because these preempt
threads are of equal priority, so enable time slice to make
them scheduled. The thread will execute for some time.
In this time, the two sub threads will be scheduled separately
according to the time slice.

Signed-off-by: default avatarYing ming <mingx.ying@intel.com>
parent 5d872f6e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment