]> git.saurik.com Git - apple/xnu.git/blame_incremental - osfmk/man/mach_port_limits.html
xnu-2422.1.72.tar.gz
[apple/xnu.git] / osfmk / man / mach_port_limits.html
... / ...
CommitLineData
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>
18Number of messages allowed to be on the message queue at any given
19time. Attempts to queue more messages than this limit will block.
20</dl>
21<h3>DESCRIPTION</h3>
22<p>
23The <strong>mach_port_limits</strong> structure defines various limits
24governing the messages that can be sent through the port. (In the current
25implementation, the structure maintains only a queue length limit.)
26<h3>RELATED INFORMATION</h3>
27<p>
28Functions:
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>
32Structures:
33<a href="mach_port_qos.html"><strong>mach_port_qos</strong></a>.
34