projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removed trailing whitespace.
[synfig.git]
/
ETL
/
trunk
/
ETL
/
_thread.h
diff --git
a/ETL/trunk/ETL/_thread.h
b/ETL/trunk/ETL/_thread.h
index
6939ee3
..
555cb02
100644
(file)
--- a/
ETL/trunk/ETL/_thread.h
+++ b/
ETL/trunk/ETL/_thread.h
@@
-108,7
+108,7
@@
public:
(*references)++;
return *this;
}
(*references)++;
return *this;
}
-
+
void start(void)
{
references = new int;
void start(void)
{
references = new int;
@@
-125,12
+125,12
@@
public:
pthread_cancel(thread);
pthread_join(thread,&exit_status);
}
pthread_cancel(thread);
pthread_join(thread,&exit_status);
}
-
+
static void TestStop()
{
pthread_testcancel();
}
static void TestStop()
{
pthread_testcancel();
}
-
+
static void SyncStop()
{
int i;
static void SyncStop()
{
int i;
@@
-307,18
+307,18
@@
private:
unsigned long thread;
HANDLE handle;
int *references;
unsigned long thread;
HANDLE handle;
int *references;
-
+
entrypoint_return (THREAD_ENTRYPOINT *entrypoint)(void *);
entrypoint_return (THREAD_ENTRYPOINT *entrypoint)(void *);
-
+
void *context;
void *context;
-
+
HDC hdc;
HGLRC hglrc;
HDC hdc;
HGLRC hglrc;
-
+
static entrypoint_return THREAD_ENTRYPOINT thread_prefix(void*data)
{
Thread *thread=(Thread *)data;
static entrypoint_return THREAD_ENTRYPOINT thread_prefix(void*data)
{
Thread *thread=(Thread *)data;
-
+
if(thread->hglrc)
wglMakeCurrent(thread->hdc, thread->hglrc);
if(thread->hglrc)
wglMakeCurrent(thread->hdc, thread->hglrc);
@@
-356,7
+356,7
@@
public:
(*references)++;
return *this;
}
(*references)++;
return *this;
}
-
+
void start(void)
{
references = new int;
void start(void)
{
references = new int;
@@
-379,10
+379,10
@@
public:
{
delete references;
references=NULL;
{
delete references;
references=NULL;
-
+
TerminateThread(handle, FALSE);
}
TerminateThread(handle, FALSE);
}
-
+
int wait(void)
{
if(handle)
int wait(void)
{
if(handle)
@@
-392,11
+392,11
@@
public:
}
return 0;
}
}
return 0;
}
-
+
static void TestStop()
{
}
static void TestStop()
{
}
-
+
static void SyncStop()
{
}
static void SyncStop()
{
}