Zephyr Project API 3.7.0-rc1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
test_queue_user.c File Reference
#include "test_queue.h"

Macros

#define STACK_SIZE   (512 + CONFIG_TEST_EXTRA_STACK_SIZE)
 
#define LIST_LEN   5
 

Functions

static K_THREAD_STACK_DEFINE (child_stack,(512+CONFIG_TEST_EXTRA_STACK_SIZE))
 
void child_thread_get (void *p1, void *p2, void *p3)
 
 ZTEST (queue_api_1cpu, test_queue_supv_to_user)
 Verify queue elements and cancel wait from a user thread.
 
 ZTEST_USER (queue_api, test_queue_alloc_prepend_user)
 verify allocate and feature "Last In, First Out"
 
 ZTEST_USER (queue_api, test_queue_alloc_append_user)
 verify feature of queue "First In, First Out"
 
 ZTEST (queue_api, test_auto_free)
 Test to verify free of allocated elements of queue.
 

Variables

static struct k_thread child_thread
 
static ZTEST_BMEM struct qdata qdata [5 *2]
 

Macro Definition Documentation

◆ LIST_LEN

#define LIST_LEN   5

◆ STACK_SIZE

#define STACK_SIZE   (512 + CONFIG_TEST_EXTRA_STACK_SIZE)

Function Documentation

◆ child_thread_get()

void child_thread_get ( void *  p1,
void *  p2,
void *  p3 
)

◆ K_THREAD_STACK_DEFINE()

static K_THREAD_STACK_DEFINE ( child_stack  ,
(512+CONFIG_TEST_EXTRA_STACK_SIZE)   
)
static

Variable Documentation

◆ child_thread

struct k_thread child_thread
static

◆ qdata

ZTEST_BMEM struct qdata qdata[5 *2]
static