This website requires JavaScript.
Explore
Help
Sign In
OrgZephyr
/
zephyr
mirror of
https://github.com/zephyrproject-rtos/zephyr.git
Watch
1
Star
0
Fork
You've already forked zephyr
0
Code
Issues
Releases
Wiki
Activity
74ddfbc8a2
zephyr
/
tests
/
kernel
/
semaphore
/
sys_sem
/
prj.conf
5 lines
91 B
Plaintext
Raw
Normal View
History
Unescape
Escape
kernel: semaphore: Add two testcases of semaphore Add two testcases to test semaphore feature on system side. For example, test semaphore usage and sync process between different priority threads to verify the semaphore can be take by higher priority thread, and give sem more than max value of semaphore that set in init step to verify sem count is correct or not. Signed-off-by: Jian Kang <jianx.kang@intel.com>
2021-03-22 10:20:31 +08:00
CONFIG_ZTEST=y
CONFIG_TEST_USERSPACE=y
CONFIG_ZTEST_FATAL_HOOK=y
tests/kernel: Bump kobj thread bitmask size for a few tests A scheduler fix for free memory usage on aborted threads is now using a per-CPU dummy thread instead of a single stack-based one at startup. These static thread objects need spots in the kobj bitmasks, and a few tests are sitting right at the default limit (16 threads). Signed-off-by: Andy Ross <andyross@google.com>
2024-04-07 02:53:30 +08:00
CONFIG_MAX_THREAD_BYTES=3