Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
thd_test.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void thd_test_init (void)
 
void thd_test_periodic (void)
 
void thd_test_event (void)
 
void thd_test_syracuse_restart (float s)
 

Variables

float thd_test_start_value
 

Detailed Description

Author
fab fab@g.nosp@m.ithu.nosp@m.b.com A module to test threads functionnalities, like threads, mutexes, semaphores and so on.

Definition in file thd_test.h.

Function Documentation

◆ thd_test_event()

void thd_test_event ( void  )
extern

◆ thd_test_init()

void thd_test_init ( void  )
extern

Definition at line 69 of file thd_test.c.

References bsem, foo, joined, mtx, pprz_bsem_init(), pprz_mtx_init(), PPRZ_NORMAL_PRIO, pprz_thread_create(), test_thd(), and thd_handle.

+ Here is the call graph for this function:

◆ thd_test_periodic()

void thd_test_periodic ( void  )
extern

Definition at line 79 of file thd_test.c.

References bsem, DefaultChannel, DefaultDevice, foo, joined, msg, mtx, pprz_bsem_signal(), pprz_mtx_trylock(), pprz_mtx_unlock(), pprz_thread_tryjoin(), syracuse, and thd_handle.

+ Here is the call graph for this function:

◆ thd_test_syracuse_restart()

void thd_test_syracuse_restart ( float  s)

Definition at line 48 of file thd_test.c.

References DefaultChannel, DefaultDevice, foo, joined, mtx, pprz_mtx_trylock(), pprz_mtx_unlock(), PPRZ_NORMAL_PRIO, pprz_thread_create(), s, syracuse, test_thd(), thd_handle, and thd_test_start_value.

+ Here is the call graph for this function:

Variable Documentation

◆ thd_test_start_value

float thd_test_start_value
extern

Definition at line 32 of file thd_test.c.

Referenced by thd_test_syracuse_restart().