Zephyr Project API 3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
test_threads_set_priority.c File Reference
#include <zephyr/ztest.h>
#include "tests_thread_apis.h"

Functions

 K_SEM_DEFINE (sem_thread2, 0, 1)
 
 K_SEM_DEFINE (sem_thread1, 0, 1)
 
void thread2_set_prio_test (void *p1, void *p2, void *p3)
 thread2 portion to test setting the priority
 
 ZTEST (threads_lifecycle, test_threads_priority_set)
 Test the k_thread_priority_set() API.
 

Variables

static int thread2_data
 

Function Documentation

◆ K_SEM_DEFINE() [1/2]

K_SEM_DEFINE ( sem_thread1  ,
,
 
)

◆ K_SEM_DEFINE() [2/2]

K_SEM_DEFINE ( sem_thread2  ,
,
 
)

◆ thread2_set_prio_test()

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

thread2 portion to test setting the priority

Variable Documentation

◆ thread2_data

int thread2_data
static