|
Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
#include <zephyr/ztest_test.h>#include <zephyr/kernel.h>#include <zephyr/ztest.h>#include <zephyr/spinlock.h>Functions | |
| static void | set_assert_valid (bool valid, bool unlock) |
| static void | action_after_assert_fail (void) |
| void | assert_post_action (const char *file, unsigned int line) |
| ZTEST (spinlock, test_spinlock_no_recursive) | |
| Test spinlock cannot be recursive. | |
| ZTEST (spinlock, test_spinlock_unlock_error) | |
| Test unlocking incorrect spinlock. | |
| ZTEST (spinlock, test_spinlock_release_error) | |
| Test unlocking incorrect spinlock. | |
| ZTEST (spinlock, test_spinlock_lock_time_limit) | |
| Test unlocking spinlock held over the time limit. | |
Variables | |
| static struct k_spinlock | lock |
| static struct k_spinlock | mylock |
| static k_spinlock_key_t | key |
| static ZTEST_DMEM volatile bool | valid_assert |
| static ZTEST_DMEM volatile bool | unlock_after_assert |
|
static |
| void assert_post_action | ( | const char * | file, |
| unsigned int | line | ||
| ) |
|
static |
|
static |
|
static |
|
static |
|
static |