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
threads_arch.h File Reference
#include <pthread.h>
#include <semaphore.h>
+ Include dependency graph for threads_arch.h:

Go to the source code of this file.

Data Structures

struct  pprzMutex
 
struct  pprzBSem
 

Macros

#define PPRZ_NORMAL_PRIO   128
 
#define THREADS_ATTRIBUTES
 

Typedefs

typedef pthread_t pprz_thread_t
 

Data Structure Documentation

◆ pprzMutex

struct pprzMutex

Definition at line 22 of file threads_arch.h.

Data Fields
int dummy
mutex_t mtx
pthread_mutex_t mtx

◆ pprzBSem

struct pprzBSem

Definition at line 26 of file threads_arch.h.

Data Fields
binary_semaphore_t bsem
pthread_mutex_t mtx
sem_t sem
volatile int value

Macro Definition Documentation

◆ PPRZ_NORMAL_PRIO

#define PPRZ_NORMAL_PRIO   128

Definition at line 19 of file threads_arch.h.

◆ THREADS_ATTRIBUTES

#define THREADS_ATTRIBUTES

Definition at line 21 of file threads_arch.h.

Typedef Documentation

◆ pprz_thread_t

Definition at line 33 of file threads_arch.h.