]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kern/sync_sema.h
xnu-1699.22.81.tar.gz
[apple/xnu.git] / osfmk / kern / sync_sema.h
index 43bedc0912f239540a452b6e2411141a93d8025c..1da09b0f3705c256bda3598fefa067891601cd07 100644 (file)
@@ -53,7 +53,7 @@ typedef struct semaphore {
        struct wait_queue wait_queue; /* queue of blocked threads & lock     */
        task_t            owner;      /* task that owns semaphore            */
        ipc_port_t        port;       /* semaphore port                      */
-       int               ref_count;  /* reference count                     */
+       uint32_t          ref_count;  /* reference count                     */
        int               count;      /* current count value                 */
        boolean_t         active;     /* active status                       */
 } Semaphore;