]> git.saurik.com Git - apple/libpthread.git/blobdiff - pthread/pthread_spis.h
libpthread-301.50.1.tar.gz
[apple/libpthread.git] / pthread / pthread_spis.h
index c1f464d67e3af14b211859a6116656cc824bb816..a0ba75430641bb3f5e143aa7470a0e496966640d 100644 (file)
@@ -70,10 +70,13 @@ __BEGIN_DECLS
 #define _PTHREAD_MUTEX_POLICY_FAIRSHARE                1
 #define _PTHREAD_MUTEX_POLICY_FIRSTFIT         2
 
-/* sets the mutex policy attributes */
+/* manipulate the mutex policy attributes */
 __API_AVAILABLE(macos(10.7), ios(5.0))
 int pthread_mutexattr_setpolicy_np(pthread_mutexattr_t *, int );
 
+__API_AVAILABLE(macos(10.13.4), ios(11.3))
+int pthread_mutexattr_getpolicy_np(const pthread_mutexattr_t *, int * );
+
 #endif /* (!_POSIX_C_SOURCE && !_XOPEN_SOURCE) || _DARWIN_C_SOURCE */
 
 __API_AVAILABLE(macos(10.11))