Zephyr Project API  3.2.0
A Scalable Open Source RTOS
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)
 thread2 portion to test setting the priority More...
 
 ZTEST (threads_lifecycle, test_threads_priority_set)
 Test the k_thread_priority_set() API. More...
 

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  )

thread2 portion to test setting the priority

Variable Documentation

◆ thread2_data

int thread2_data
static