aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-04-16 06:11:40 -0700
committerChris Robinson <[email protected]>2014-04-16 06:11:40 -0700
commitd124aee4d78db389117a8eda60c12a829489622b (patch)
tree71b50e2e25b8089088ce46fd8bfd045a3e5451d3 /OpenAL32/Include
parent505ef82246d608970e291289c1087ed42f444281 (diff)
Remove the old thread wrappers for the new ones
Diffstat (limited to 'OpenAL32/Include')
-rw-r--r--OpenAL32/Include/threads.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/OpenAL32/Include/threads.h b/OpenAL32/Include/threads.h
index 8f564cd1..84082604 100644
--- a/OpenAL32/Include/threads.h
+++ b/OpenAL32/Include/threads.h
@@ -3,16 +3,6 @@
#include <time.h>
-#include "alMain.h"
-
-struct althread_info;
-typedef struct althread_info* althread_t;
-
-ALboolean StartThread(althread_t *out, ALuint (*func)(ALvoid*), ALvoid *ptr);
-ALuint StopThread(althread_t thread);
-
-void SetThreadName(const char *name);
-
enum {
althrd_success = 0,
@@ -103,6 +93,7 @@ inline int almtx_trylock(almtx_t *mtx)
#else
+#include <stdint.h>
#include <pthread.h>
@@ -169,4 +160,7 @@ int almtx_init(almtx_t *mtx, int type);
void almtx_destroy(almtx_t *mtx);
int almtx_timedlock(almtx_t *mtx, const struct timespec *ts);
+
+void SetThreadName(const char *name);
+
#endif /* AL_THREADS_H */