Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
test_threads_spawn.c File Reference
#include <ztest.h>
#include "tests_thread_apis.h"

Functions

static void thread_entry_params (void *p1, void *p2, void *p3)
 
static void thread_entry_priority (void *p1, void *p2, void *p3)
 
static void thread_entry_delay (void *p1, void *p2, void *p3)
 
void test_threads_spawn_params (void)
 Check the parameters passed to thread entry function. More...
 
void test_threads_spawn_priority (void)
 Spawn thread with higher priority. More...
 
void test_threads_spawn_delay (void)
 Spawn thread with a delay. More...
 
void test_threads_spawn_forever (void)
 Spawn thread with forever delay and highest priority. More...
 
void test_thread_start (void)
 Validate behavior of multiple calls to k_thread_start() More...
 
static void user_start_thread (void *p1, void *p2, void *p3)
 
void test_thread_start_user (void)
 

Variables

static ZTEST_BMEM char tp1 [8]
 
static ZTEST_DMEM int tp2 = 100
 
static ZTEST_BMEM struct k_sema * tp3
 
static ZTEST_BMEM int spawn_prio
 

Function Documentation

◆ test_thread_start_user()

void test_thread_start_user ( void  )

◆ thread_entry_delay()

static void thread_entry_delay ( void p1,
void p2,
void p3 
)
static

◆ thread_entry_params()

static void thread_entry_params ( void p1,
void p2,
void p3 
)
static

◆ thread_entry_priority()

static void thread_entry_priority ( void p1,
void p2,
void p3 
)
static

◆ user_start_thread()

static void user_start_thread ( void p1,
void p2,
void p3 
)
static

Variable Documentation

◆ spawn_prio

ZTEST_BMEM int spawn_prio
static

◆ tp1

ZTEST_BMEM char tp1[8]
static

◆ tp2

ZTEST_DMEM int tp2 = 100
static

◆ tp3

ZTEST_BMEM struct k_sema* tp3
static