Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
Macros | |
#define | THREAD_NUM 3 |
#define | STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACK_SIZE) |
Functions | |
K_MEM_SLAB_DEFINE (mslab1, 16, 3, 8) | |
static | K_THREAD_STACK_ARRAY_DEFINE (tstack, 3,(512+CONFIG_TEST_EXTRA_STACK_SIZE)) |
void | tmslab_alloc_wait_timeout (void *p1, void *p2, void *p3) |
void | tmslab_alloc_wait_ok (void *p1, void *p2, void *p3) |
ZTEST (mslab_concept, test_mslab_alloc_wait_prio) | |
Verify alloc with multiple threads. | |
Variables | |
static struct k_thread | tdata [3] |
static struct k_sem | sync_sema |
static void * | block_ok |
#define STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACK_SIZE) |
#define THREAD_NUM 3 |
K_MEM_SLAB_DEFINE | ( | mslab1 | , |
16 | , | ||
3 | , | ||
8 | |||
) |
|
static |
void tmslab_alloc_wait_ok | ( | void * | p1, |
void * | p2, | ||
void * | p3 | ||
) |
void tmslab_alloc_wait_timeout | ( | void * | p1, |
void * | p2, | ||
void * | p3 | ||
) |
|
static |
|
static |
|
static |