forked from apple/darwin-xnu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdo_mach_notify_no_senders.html
55 lines (53 loc) · 2.07 KB
/
do_mach_notify_no_senders.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<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>.