(*references)++;
return *this;
}
-
+
void start(void)
{
references = new int;
pthread_cancel(thread);
pthread_join(thread,&exit_status);
}
-
+
static void TestStop()
{
pthread_testcancel();
}
-
+
static void SyncStop()
{
int i;
unsigned long thread;
HANDLE handle;
int *references;
-
+
entrypoint_return (THREAD_ENTRYPOINT *entrypoint)(void *);
-
+
void *context;
-
+
HDC hdc;
HGLRC hglrc;
-
+
static entrypoint_return THREAD_ENTRYPOINT thread_prefix(void*data)
{
Thread *thread=(Thread *)data;
-
+
if(thread->hglrc)
wglMakeCurrent(thread->hdc, thread->hglrc);
(*references)++;
return *this;
}
-
+
void start(void)
{
references = new int;
{
delete references;
references=NULL;
-
+
TerminateThread(handle, FALSE);
}
-
+
int wait(void)
{
if(handle)
}
return 0;
}
-
+
static void TestStop()
{
}
-
+
static void SyncStop()
{
}