BFLibC 0.1
C Library
Loading...
Searching...
No Matches
thread.h
Go to the documentation of this file.
1
6#ifndef THREAD_H
7#define THREAD_H
8
9#include <stdbool.h>
10#include "typethreadid.h"
11
17
22
28
33
37int BFThreadSync(void (* callback)(void *), void * args);
38
47__attribute__((deprecated("detach state is now the default behavior. this function is no longer supported")))
48int BFThreadAsyncDetach(void (* callback)(void *), void * args);
49
59BFThreadAsyncID BFThreadAsync(void (* callback)(void *), void * args);
60
65
74
79
84
92
101
108
118
119#endif // THREAD_H
120
int BFThreadAsyncDetach(void(*callback)(void *), void *args)
Definition thread.c:500
bool BFThreadAsyncIDIsValid(BFThreadAsyncID)
Definition thread.c:412
int BFThreadAsyncError(BFThreadAsyncID)
Definition thread.c:417
int BFThreadGetStartedCount()
Definition thread.c:241
void BFThreadResetStartedCount()
Definition thread.c:255
const BFThreadAsyncID BFThreadAsyncGetID()
Definition thread.c:331
int BFThreadAsyncCancel(BFThreadAsyncID)
Definition thread.c:447
BFThreadAsyncID BFThreadAsync(void(*callback)(void *), void *args)
Definition thread.c:356
bool BFThreadAsyncIsCanceled(BFThreadAsyncID)
Definition thread.c:458
void BFThreadResetStoppedCount()
Definition thread.c:275
int BFThreadAsyncWait(BFThreadAsyncID)
Definition thread.c:435
__attribute__((deprecated("detach state is now the default behavior. this function is no longer supported"))) int BFThreadAsyncDetach(void(*callback)(void *)
bool BFThreadAsyncIsRunning(BFThreadAsyncID)
Definition thread.c:422
void * args
Definition thread.h:48
int BFThreadSync(void(*callback)(void *), void *args)
Definition thread.c:469
void BFThreadAsyncDestroy(BFThreadAsyncID in)
Definition thread.c:335
int BFThreadGetStoppedCount()
Definition thread.c:261
void * BFThreadAsyncID
Definition typethreadid.h:12