Classes | Typedefs | Enumerations | Functions
ythread.h File Reference
#include "ydef.h"
#include <pthread.h>
Include dependency graph for ythread.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  yEvent
 
struct  yThread
 

Typedefs

typedef pthread_t osThread
 

Enumerations

enum  YTHREAD_STATE { YTHREAD_NOT_STARTED =0, YTHREAD_RUNNING, YTHREAD_MUST_STOP, YTHREAD_STOPED }
 

Functions

void yCloseEvent (yEvent *ev)
 
int yCreateDetachedThread (void *(*fun)(void *), void *arg)
 
void yCreateEvent (yEvent *ev)
 
void yCreateManualEvent (yEvent *event, int initialState)
 
void yResetEvent (yEvent *ev)
 
void ySetEvent (yEvent *ev)
 
int yThreadCreate (yThread *yth, void *(*fun)(void *), void *arg)
 
int yThreadIndex (void)
 
int yThreadIsRunning (yThread *yth)
 
void yThreadKill (yThread *yth)
 
int yThreadMustEnd (yThread *yth)
 
void yThreadRequestEnd (yThread *yth)
 
void yThreadSignalEnd (yThread *yth)
 
void yThreadSignalStart (yThread *yth)
 
int yWaitForEvent (yEvent *ev, int time)
 

Typedef Documentation

typedef pthread_t osThread

Definition at line 84 of file ythread.h.

Enumeration Type Documentation

Enumerator
YTHREAD_NOT_STARTED 
YTHREAD_RUNNING 
YTHREAD_MUST_STOP 
YTHREAD_STOPED 

Definition at line 87 of file ythread.h.

Function Documentation

void yCloseEvent ( yEvent ev)

Definition at line 223 of file ythread.c.

int yCreateDetachedThread ( void *(*)(void *)  fun,
void *  arg 
)

Definition at line 282 of file ythread.c.

void yCreateEvent ( yEvent ev)

Definition at line 159 of file ythread.c.

void yCreateManualEvent ( yEvent event,
int  initialState 
)

Definition at line 167 of file ythread.c.

void yResetEvent ( yEvent ev)

Definition at line 187 of file ythread.c.

void ySetEvent ( yEvent ev)

Definition at line 175 of file ythread.c.

int yThreadCreate ( yThread yth,
void *(*)(void *)  fun,
void *  arg 
)

Definition at line 293 of file ythread.c.

int yThreadIndex ( void  )

Definition at line 264 of file ythread.c.

int yThreadIsRunning ( yThread yth)

Definition at line 311 of file ythread.c.

void yThreadKill ( yThread yth)

Definition at line 343 of file ythread.c.

int yThreadMustEnd ( yThread yth)

Definition at line 338 of file ythread.c.

void yThreadRequestEnd ( yThread yth)

Definition at line 331 of file ythread.c.

void yThreadSignalEnd ( yThread yth)

Definition at line 326 of file ythread.c.

void yThreadSignalStart ( yThread yth)

Definition at line 318 of file ythread.c.

int yWaitForEvent ( yEvent ev,
int  time 
)

Definition at line 196 of file ythread.c.



yoctopuce_altimeter
Author(s): Anja Sheppard
autogenerated on Mon Jun 10 2019 15:49:13