1 <h2>semaphore_signal_all
</h2>
4 <strong>Function
</strong> - Wake up all threads blocked on a semaphore.
7 <strong>kern_return_t semaphore_signal_all
</strong>
8 <strong>(semaphore_t
</strong> <var>semaphore
</var><strong>);
</strong>
13 <dt> <var>semaphore
</var>
15 [in send right] The port naming the semaphore to be signalled.
19 The
<strong>semaphore_signal_all
</strong> function wakes up all of the
20 threads blocked on the semaphore. The semaphore count is reset to
22 <h3>RETURN VALUES
</h3>
25 <dt> <strong>KERN_INVALID_ARGUMENT
</strong>
27 The specified semaphore is invalid.
29 <dt> <strong>KERN_TERMINATED
</strong>
31 The specified semaphore has been destroyed.
33 <dt> <strong>KERN_SUCCESS
</strong>
35 The semaphore has been signalled.
37 <h3>RELATED INFORMATION
</h3>
40 <a href=
"semaphore_create.html"><strong>semaphore_create
</strong></a>,
41 <a href=
"semaphore_destroy.html"><strong>semaphore_destroy
</strong></a>,
42 <a href=
"semaphore_signal.html"><strong>semaphore_signal
</strong></a>,