+4
-4
@@ -22,10 +22,10 @@ typedef struct CgeMutex CgeMutex;
|
||||
typedef struct CgeSemaphore CgeSemaphore;
|
||||
typedef struct CgeCondition CgeCondition;
|
||||
typedef struct CgeTss CgeTss;
|
||||
typedef int (*CgeThreadCallback)(void *);
|
||||
typedef void (*CgeTssCallback)(void *);
|
||||
typedef int (*CgeThreadCb)(void *);
|
||||
typedef void (*CgeTssCb)(void *);
|
||||
|
||||
CgeThread *CgeThreadNew(size_t stack, CgeThreadCallback callback, void *data,
|
||||
CgeThread *CgeThreadNew(size_t stack, CgeThreadCb callback, void *data,
|
||||
int *result);
|
||||
int CgeThreadJoin(CgeThread *thread, int *result);
|
||||
int CgeThreadDetach(CgeThread *thread, int *result);
|
||||
@@ -52,7 +52,7 @@ int CgeConditionWaitFor(CgeCondition *condition, CgeMutex *mutex,
|
||||
int CgeConditionSignal(CgeCondition *condition, int *result);
|
||||
int CgeConditionBroadcast(CgeCondition *condition, int *result);
|
||||
|
||||
CgeTss *CgeTssNew(CgeTssCallback callback, int *result);
|
||||
CgeTss *CgeTssNew(CgeTssCb callback, int *result);
|
||||
void CgeTssFree(CgeTss *tss);
|
||||
void *CgeTssRead(CgeTss *tss);
|
||||
void CgeTssWrite(CgeTss *tss, void *value);
|
||||
|
||||
Reference in New Issue
Block a user