Back to Darwin Xnu

Mach Port Limits

osfmk/man/mach_port_limits.html

latest877 B
Original Source

mach_port_limits


Structure - Specifies a port's resource and message queue limits.

SYNOPSIS

**struct mach\_port\_limits**** { ****mach\_port\_msgcount\_t** queue\_limit **;**** }; ****typedef struct mach\_port\_limits\* mach\_port\_limits\_t;**

FIELDS

queue_limitNumber of messages allowed to be on the message queue at any given time. Attempts to queue more messages than this limit will block.

DESCRIPTION

The mach_port_limits structure defines various limits governing the messages that can be sent through the port. (In the current implementation, the structure maintains only a queue length limit.)

Functions: mach_port_get_attributes, mach_port_set_attributes.

Structures: mach_port_qos.