#include "ydef.h"
#include <pthread.h>
Go to the source code of this file.
Enumerator |
---|
YTHREAD_NOT_STARTED |
|
YTHREAD_RUNNING |
|
YTHREAD_MUST_STOP |
|
YTHREAD_STOPED |
|
Definition at line 87 of file ythread.h.
void yCloseEvent |
( |
yEvent * |
ev | ) |
|
int yCreateDetachedThread |
( |
void *(*)(void *) |
fun, |
|
|
void * |
arg |
|
) |
| |
void yCreateEvent |
( |
yEvent * |
ev | ) |
|
void yCreateManualEvent |
( |
yEvent * |
event, |
|
|
int |
initialState |
|
) |
| |
void yResetEvent |
( |
yEvent * |
ev | ) |
|
int yThreadCreate |
( |
yThread * |
yth, |
|
|
void *(*)(void *) |
fun, |
|
|
void * |
arg |
|
) |
| |
int yThreadIndex |
( |
void |
| ) |
|
int yThreadIsRunning |
( |
yThread * |
yth | ) |
|
int yThreadMustEnd |
( |
yThread * |
yth | ) |
|
void yThreadRequestEnd |
( |
yThread * |
yth | ) |
|
void yThreadSignalEnd |
( |
yThread * |
yth | ) |
|
void yThreadSignalStart |
( |
yThread * |
yth | ) |
|
int yWaitForEvent |
( |
yEvent * |
ev, |
|
|
int |
time |
|
) |
| |