mach_port_qos.html   [plain text]

<strong>Structure</strong> - Specifies a port's attributes with respect to "Quality Of Service."
<strong>typedef struct mach_port_qos</strong>
               <strong>boolean_t</strong>      <var>name</var><strong>;</strong>
               <strong>boolean_t</strong>      <var>rt</var><strong>;</strong>
               <strong>boolean_t</strong>      <var>pad1</var><strong>;</strong>
               <strong>boolean_t</strong>      <var>pad2</var><strong>;</strong>
        <strong>} mach_port_qos_t;</strong>
<dt> <var>name</var>
     If TRUE, the system will bestow the user-specified name on the newly allocated port.
     Otherwise, the system will choose the port's name.
     <dt> <var>rt</var>
     If TRUE, this field causes a realtime port to be allocated.
     Otherwise, a regular port will be allocated.
     <dt> <var>pad1</var>
     A 30 bit padding field.
     <dt> <var>pad2</var>
A 32 bit padding field; with the <var>pad1</var> field, lengthens the
     structure to 64 bits.
The <strong>mach_port_qos</strong> structure is used to specify a port's
"quality of service" attributes when allocating the port via the
<strong>mach_port_allocate_qos</strong> interface.
<a href="mach_port_allocate_qos.html"><strong>mach_port_allocate_qos</strong></a>,
<a href="mach_port_get_attributes.html"><strong>mach_port_get_attributes</strong></a>,
<a href="mach_port_set_attributes.html"><strong>mach_port_set_attributes</strong></a>.