aboutsummaryrefslogtreecommitdiffstats
path: root/OpenAL32/Include/threads.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2014-04-17 20:41:32 -0700
committerChris Robinson <[email protected]>2014-04-17 20:41:32 -0700
commit36df67f546c3162e06964ca6a2466023647c7485 (patch)
tree8a7ed509289f839cf0149025a7284ba07aadaba4 /OpenAL32/Include/threads.h
parent528c8c5e774b28b74393b5517d8bee268f1d9624 (diff)
Rename SetThreadName to althrd_setname
Diffstat (limited to 'OpenAL32/Include/threads.h')
-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 */