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

Macros

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

Functions

 K_FIFO_DEFINE (kfifo_c)
 
static K_THREAD_STACK_DEFINE (tstack,(512+CONFIG_TEST_EXTRA_STACKSIZE))
 
static void t_cancel_wait_entry (void *p1, void *p2, void *p3)
 
static void tfifo_thread_thread (struct k_fifo *pfifo)
 
void test_fifo_cancel_wait (void)
 Test cancel waiting on a FIFO queue. More...
 

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

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