]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kern/locks.h
xnu-792.10.96.tar.gz
[apple/xnu.git] / osfmk / kern / locks.h
index 06496c640093d381a9b0084bd0ca1f3139c4c204..feca9487d80bd294e6e7a637dbd314a1d78482fe 100644 (file)
@@ -181,8 +181,10 @@ typedef    struct _lck_attr_ {
 
 extern lck_attr_t      LockDefaultLckAttr;
 
-#define        LCK_ATTR_NONE           0
-#define        LCK_ATTR_DEBUG  0x1
+#define LCK_ATTR_NONE          0
+
+#define        LCK_ATTR_DEBUG                          0x00000001
+#define        LCK_ATTR_RW_SHARED_PRIORITY     0x00010000
 
 #else
 typedef struct __lck_attr__ lck_attr_t;
@@ -201,6 +203,11 @@ extern     void                    lck_attr_setdefault(
 extern void                    lck_attr_setdebug(
                                                                        lck_attr_t              *attr);
 
+#ifdef XNU_KERNEL_PRIVATE
+extern void                    lck_attr_rw_shared_priority(
+                                                                       lck_attr_t              *attr);
+#endif
+
 extern void                    lck_attr_free(
                                                                        lck_attr_t              *attr);