summaryrefslogtreecommitdiffstats
path: root/OpenAL32
diff options
context:
space:
mode:
Diffstat (limited to 'OpenAL32')
-rw-r--r--OpenAL32/Include/threads.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/OpenAL32/Include/threads.h b/OpenAL32/Include/threads.h
index 762e5b15..1d9f7640 100644
--- a/OpenAL32/Include/threads.h
+++ b/OpenAL32/Include/threads.h
@@ -44,7 +44,6 @@ struct timespec {
int althrd_sleep(const struct timespec *ts, struct timespec *rem);
-#if 0
inline althrd_t althrd_current(void)
{
/* This is wrong. GetCurrentThread() returns a psuedo-handle of -1 which
@@ -53,7 +52,6 @@ inline althrd_t althrd_current(void)
* CreateThread. */
return GetCurrentThread();
}
-#endif
inline int althrd_equal(althrd_t thr0, althrd_t thr1)
{
@@ -202,6 +200,7 @@ inline int altss_set(altss_t tss_id, void *val)
int althrd_create(althrd_t *thr, althrd_start_t func, void *arg);
int althrd_detach(althrd_t thr);
int althrd_join(althrd_t thr, int *res);
+void althrd_setname(althrd_t thr, const char *name);
int almtx_init(almtx_t *mtx, int type);
void almtx_destroy(almtx_t *mtx);
@@ -214,7 +213,4 @@ int altimespec_get(struct timespec *ts, int base);
void al_nssleep(time_t sec, long nsec);
-
-void SetThreadName(const char *name);
-
#endif /* AL_THREADS_H */