8fe8f34169
Added test to verify the spinlock acquisition fairness in relation to the CPUs contending for the spinlock. This test is only enabled for Ticket Spinlocks which required to provide such kind of fairness. Signed-off-by: Alexander Razinkov <alexander.razinkov@syntacore.com>
10 lines
296 B
CMake
10 lines
296 B
CMake
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
cmake_minimum_required(VERSION 3.20.0)
|
|
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
|
|
project(spinlock)
|
|
|
|
target_sources(app PRIVATE src/main.c)
|
|
target_sources(app PRIVATE src/spinlock_error_case.c)
|
|
target_sources(app PRIVATE src/spinlock_fairness.c)
|