aboutsummaryrefslogtreecommitdiffstats
path: root/src/ath-pthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ath-pthread.c')
-rw-r--r--src/ath-pthread.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ath-pthread.c b/src/ath-pthread.c
index b201f089..d6422999 100644
--- a/src/ath-pthread.c
+++ b/src/ath-pthread.c
@@ -77,6 +77,13 @@ ath_init (void)
}
+uintptr_t
+ath_self (void)
+{
+ return (uintptr_t) pthread_self ();
+}
+
+
int
ath_mutex_init (ath_mutex_t *lock)
{