xref: /xnu-8792.61.2/osfmk/man/mach_port_limits.html (revision 42e220869062b56f8d7d0726fd4c88954f87902c)
1*42e22086SApple OSS Distributions<h2>mach_port_limits</h2>
2*42e22086SApple OSS Distributions<hr>
3*42e22086SApple OSS Distributions<p>
4*42e22086SApple OSS Distributions<strong>Structure</strong> - Specifies a port's resource and message queue limits.
5*42e22086SApple OSS Distributions<h3>SYNOPSIS</h3>
6*42e22086SApple OSS Distributions<pre>
7*42e22086SApple OSS Distributions<strong>struct mach_port_limits</strong>
8*42e22086SApple OSS Distributions<strong>{</strong>
9*42e22086SApple OSS Distributions       <strong>mach_port_msgcount_t</strong>      <var>queue_limit</var><strong>;</strong>
10*42e22086SApple OSS Distributions<strong>};</strong>
11*42e22086SApple OSS Distributions
12*42e22086SApple OSS Distributions<strong>typedef struct mach_port_limits* mach_port_limits_t;</strong>
13*42e22086SApple OSS Distributions</pre>
14*42e22086SApple OSS Distributions<h3>FIELDS</h3>
15*42e22086SApple OSS Distributions<dl>
16*42e22086SApple OSS Distributions<dt> <var>queue_limit</var>
17*42e22086SApple OSS Distributions<dd>
18*42e22086SApple OSS DistributionsNumber of messages allowed to be on the message queue at any given
19*42e22086SApple OSS Distributionstime.  Attempts to queue more messages than this limit will block.
20*42e22086SApple OSS Distributions</dl>
21*42e22086SApple OSS Distributions<h3>DESCRIPTION</h3>
22*42e22086SApple OSS Distributions<p>
23*42e22086SApple OSS DistributionsThe <strong>mach_port_limits</strong> structure defines various limits
24*42e22086SApple OSS Distributionsgoverning the messages that can be sent through the port. (In the current
25*42e22086SApple OSS Distributionsimplementation, the structure maintains only a queue length limit.)
26*42e22086SApple OSS Distributions<h3>RELATED INFORMATION</h3>
27*42e22086SApple OSS Distributions<p>
28*42e22086SApple OSS DistributionsFunctions:
29*42e22086SApple OSS Distributions<a href="mach_port_get_attributes.html"><strong>mach_port_get_attributes</strong></a>,
30*42e22086SApple OSS Distributions<a href="mach_port_set_attributes.html"><strong>mach_port_set_attributes</strong></a>.
31*42e22086SApple OSS Distributions<p>
32*42e22086SApple OSS DistributionsStructures:
33*42e22086SApple OSS Distributions<a href="mach_port_qos.html"><strong>mach_port_qos</strong></a>.
34*42e22086SApple OSS Distributions
35