do_mach_notify_no_senders.html   [plain text]


<h2>do_mach_notify_no_senders</h2>
<hr>
<p>
<strong>Server Interface</strong> - Handle the current instance of a no-more-senders notification.
<h3>SYNOPSIS</h3>
<pre>
<strong>kern_return_t   do_mach_notify_no_senders</strong>
                <strong>(notify_port_t</strong>                           <var>notify</var>,
                 <strong>mach_port_mscount_t</strong>                    <var>mscount</var><strong>);</strong>


<strong>kern_return_t   do_seqnos_mach_notify_no_senders</strong>
                <strong>(notify_port_t</strong>                           <var>notify</var>,
                 <strong>mach_port_seqno_t</strong>                        <var>seqno</var>,
                 <strong>mach_port_mscount_t</strong>                    <var>mscount</var><strong>);</strong>
</pre>
<h3>PARAMETERS</h3>
<dl>
<p>
<dt> <var>notify</var> 
<dd>
[in notify (receive) right]
The port to which the notification was sent.
<p>
<dt> <var>seqno</var> 
<dd>
[in scalar]
The sequence number of this message relative to the
notification port.
<p>
<dt> <var>mscount</var> 
<dd>
[in scalar]
The value the port's make-send count had when the
notification was generated.
</dl>
<h3>DESCRIPTION</h3>
<p>
A <strong>do_mach_notify_no_senders</strong> function is called by
<strong>notify_server</strong> as the
result of a kernel message indicating that a receive right has no more senders.
<var>notify</var> is the port named via <strong>mach_port_request_notification</strong>.
<h3>RETURN VALUES</h3>
<p>
Only generic errors apply.
<h3>RELATED INFORMATION</h3>
<p>
Functions:
<a href="notify_server.html"><strong>notify_server</strong></a>,
<a href="seqnos_notify_server.html"><strong>seqnos_notify_server</strong></a>,
<a href="mach_msg.html"><strong>mach_msg</strong></a>,
<a href="MP_request_notification.html"><strong>mach_port_request_notification</strong></a>,
<a href="do_mach_notify_dead_name.html"><strong>do_mach_notify_dead_name</strong></a>,
<a href="DMN_port_deleted.html"><strong>do_mach_notify_port_deleted</strong></a>,
<a href="do_mach_notify_send_once.html"><strong>do_mach_notify_send_once</strong></a>.