blob: 8e3ee41869b911c8d5493bf41ef1603f78f2ed64 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#ifndef __VXGG_REWRITE___THREADPOOL_H___13601325413136___
#define __VXGG_REWRITE___THREADPOOL_H___13601325413136___
#include <threads.h>
typedef struct mtxp mtxpair;
mtxpair * mtxpair_init(void * const data, int type);
void mtxpair_free(mtxpair *mp);
int mtxpair_setdata(mtxpair * const mp, void * const data);
int thrd_createwmx(thrd_t * const thr, thrd_start_t func, mtxpair * const mtxd);
#endif
|