Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
test_fifo_cancel.c File Reference
#include "test_fifo.h"

Macros

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

Functions

 K_FIFO_DEFINE (kfifo_c)
 TESTPOINT: init via K_FIFO_DEFINE.
 
static K_THREAD_STACK_DEFINE (tstack,(512+CONFIG_TEST_EXTRA_STACK_SIZE))
 
static void t_cancel_wait_entry (void *p1, void *p2, void *p3)
 
static void tfifo_thread_thread (struct k_fifo *pfifo)
 
 ZTEST (fifo_api_1cpu, test_fifo_cancel_wait)
 Test cancel waiting on a FIFO queue.
 

Variables

struct k_fifo fifo_c
 
static struct k_thread thread
 

Macro Definition Documentation

◆ LIST_LEN

#define LIST_LEN   2

◆ STACK_SIZE

#define STACK_SIZE   (512 + CONFIG_TEST_EXTRA_STACK_SIZE)

Function Documentation

◆ K_FIFO_DEFINE()

K_FIFO_DEFINE ( kfifo_c  )

TESTPOINT: init via K_FIFO_DEFINE.

◆ K_THREAD_STACK_DEFINE()

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

◆ t_cancel_wait_entry()

static void t_cancel_wait_entry ( void *  p1,
void *  p2,
void *  p3 
)
static

◆ tfifo_thread_thread()

static void tfifo_thread_thread ( struct k_fifo pfifo)
static

Variable Documentation

◆ fifo_c

struct k_fifo fifo_c

◆ thread

struct k_thread thread
static