Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
#include "test_msgq.h"
Functions | |
K_THREAD_STACK_DECLARE (tstack,(512+CONFIG_TEST_EXTRA_STACK_SIZE)) | |
static void | tThread_entry (void *p1, void *p2, void *p3) |
static void | purge_when_put (struct k_msgq *q) |
ZTEST (msgq_api_1cpu, test_msgq_purge_when_put) | |
Test purge a message queue. | |
ZTEST_USER (msgq_api, test_msgq_user_purge_when_put) | |
Test purge a message queue. | |
Variables | |
struct k_thread | tdata |
struct k_msgq | msgq |
static ZTEST_BMEM char | tbuffer [4 *2] |
static ZTEST_DMEM uint32_t | data [2] = { 0xABCD , 0x1234 } |
K_THREAD_STACK_DECLARE | ( | tstack | , |
(512+CONFIG_TEST_EXTRA_STACK_SIZE) | |||
) |
|
static |
TESTPOINT: msgq purge while another thread waiting to put msg
|
static |
|
static |
|
extern |
|
static |
|
extern |