]> git.saurik.com Git - apple/xnu.git/blob - osfmk/man/mach_port_limits.html
xnu-2422.1.72.tar.gz
[apple/xnu.git] / osfmk / man / mach_port_limits.html
1 <h2>mach_port_limits</h2>
2 <hr>
3 <p>
4 <strong>Structure</strong> - Specifies a port's resource and message queue limits.
5 <h3>SYNOPSIS</h3>
6 <pre>
7 <strong>struct mach_port_limits</strong>
8 <strong>{</strong>
9 <strong>mach_port_msgcount_t</strong> <var>queue_limit</var><strong>;</strong>
10 <strong>};</strong>
11
12 <strong>typedef struct mach_port_limits* mach_port_limits_t;</strong>
13 </pre>
14 <h3>FIELDS</h3>
15 <dl>
16 <dt> <var>queue_limit</var>
17 <dd>
18 Number of messages allowed to be on the message queue at any given
19 time. Attempts to queue more messages than this limit will block.
20 </dl>
21 <h3>DESCRIPTION</h3>
22 <p>
23 The <strong>mach_port_limits</strong> structure defines various limits
24 governing the messages that can be sent through the port. (In the current
25 implementation, the structure maintains only a queue length limit.)
26 <h3>RELATED INFORMATION</h3>
27 <p>
28 Functions:
29 <a href="mach_port_get_attributes.html"><strong>mach_port_get_attributes</strong></a>,
30 <a href="mach_port_set_attributes.html"><strong>mach_port_set_attributes</strong></a>.
31 <p>
32 Structures:
33 <a href="mach_port_qos.html"><strong>mach_port_qos</strong></a>.
34