diff options
Diffstat (limited to '')
-rw-r--r-- | src/ath-pth.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ath-pth.c b/src/ath-pth.c index 4c883a34..3c7bd54b 100644 --- a/src/ath-pth.c +++ b/src/ath-pth.c @@ -34,6 +34,14 @@ /* The lock we take while checking for lazy lock initialization. */ static pth_mutex_t check_init_lock = PTH_MUTEX_INIT; + +uintptr_t +ath_self (void) +{ + return (uintptr_t) pth_self (); +} + + /* Initialize the mutex *PRIV. If JUST_CHECK is true, only do this if it is not already initialized. */ static int |