Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
test_queue_user.c File Reference
#include "test_queue.h"

Macros

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

Functions

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

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_STACKSIZE)

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_STACKSIZE)   
)
static

Variable Documentation

◆ child_thread

struct k_thread child_thread
static

◆ qdata

ZTEST_BMEM struct qdata qdata[5 *2]
static