summaryrefslogtreecommitdiff
path: root/threading.h
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2009-08-31 08:43:08 +0200
committerGravatar waker <wakeroid@gmail.com>2009-08-31 08:43:08 +0200
commitc3a2c81accae4d01a466a05e584ce5c35fcf69e6 (patch)
treebbeb8bd4c7181e16352db96b7e9b48feff667b04 /threading.h
parent00f8f988f064e5146610bb7e15e89bc84041aad1 (diff)
fixed segfault on 64 bit platforms
Diffstat (limited to 'threading.h')
-rw-r--r--threading.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/threading.h b/threading.h
index f899e73f..2e986b59 100644
--- a/threading.h
+++ b/threading.h
@@ -20,11 +20,11 @@
#include <stdint.h>
-int
+intptr_t
thread_start (void (*fn)(uintptr_t ctx), uintptr_t ctx);
int
-thread_join (int tid);
+thread_join (intptr_t tid);
uintptr_t mutex_create (void);
void mutex_free (uintptr_t mtx);