50 #ifndef NDICAPI_THREAD_H
51 #define NDICAPI_THREAD_H 1
68 #include <sys/timeb.h>
74 #elif defined(unix) || defined(__unix__) || defined(__APPLE__)
77 #include <sys/types.h>
86 pthread_mutex_t mutex;
87 } pl_cond_and_mutex_t;
88 typedef pthread_t NDIThread;
89 typedef pthread_mutex_t *NDIMutex;
90 typedef pl_cond_and_mutex_t *NDIEvent;
104 NDIThread
ndiThreadSplit(
void *thread_func(
void *userdata),
void *userdata);
void ndiMutexLock(NDIMutex mutex)
NDIEvent ndiEventCreate()
NDIMutex ndiMutexCreate()
void ndiThreadJoin(NDIThread thread)
int ndiEventWait(NDIEvent event, int milliseconds)
void ndiEventSignal(NDIEvent event)
void ndiMutexUnlock(NDIMutex mutex)
cl_event event
Definition: glew.h:3231
NDIThread ndiThreadSplit(void *thread_func(void *userdata), void *userdata)
void ndiMutexDestroy(NDIMutex mutex)
void ndiEventDestroy(NDIEvent event)
typedef HANDLE(WINAPI *PFNWGLCREATEBUFFERREGIONARBPROC)(HDC hDC