X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..39236c6e673c41db228275375ab7fdb0f837b292:/osfmk/man/semaphore_wait.html diff --git a/osfmk/man/semaphore_wait.html b/osfmk/man/semaphore_wait.html old mode 100755 new mode 100644 index 04a8df9d8..82353a6b6 --- a/osfmk/man/semaphore_wait.html +++ b/osfmk/man/semaphore_wait.html @@ -1 +1,52 @@ -
Function - Wait on the specified semaphore.
kern_return_t semaphore_wait (semaphore_t semaphore);
The semaphore_wait function decrements the semaphore count. If the semaphore count is negative after decrementing, the calling thread blocks. Device driver interrupt service routines (ISR) should never execute semaphore_wait, since waiting on a semaphore at the ISR level may, and often will, lead to a deadlock.
Functions: semaphore_create, semaphore_destroy, semaphore_signal, semaphore_signal_all, device_get_status. \ No newline at end of file +
+Function - Wait on the specified semaphore. +
+kern_return_t semaphore_wait + (semaphore_t semaphore); ++
+
+The semaphore_wait function decrements the semaphore count. If the +semaphore count is negative after decrementing, the calling thread +blocks. Device driver interrupt service routines (ISR) should never +execute semaphore_wait, since waiting on a semaphore at the ISR level +may, and often will, lead to a deadlock. +
+
+
+
+
+Functions: +semaphore_create, +semaphore_destroy, +semaphore_signal, +semaphore_signal_all, +device_get_status.