Back to Darwin Xnu

Seqnos Notify Server

osfmk/man/seqnos_notify_server.html

latest1.6 KB
Original Source

seqnos_notify_server


Function - Handle the next kernel-generated IPC notification.

SYNOPSIS

**boolean\_t seqnos\_notify\_server**** (mach\_msg\_header\_t **request\_msg,** mach\_msg\_header\_t **reply\_ms** );**

PARAMETERS

in_msg[pointer to in structure] The notification message received from the kernel.

out_msg[out structure] Not used.

DESCRIPTION

The seqnos_notify_server function is the MIG generated server handling function to handle messages from the kernel corresponding to IPC notifications. Such messages are delivered to the notification port named in a mach_msg or mach_port_request_notification call. The seqnos_notify_server function performs all necessary argument handling for this kernel message and calls the appropriate handling function. These functions must be supplied by the caller.

NOTES

seqnos_notify_server differs from notify_server in that it supplies message sequence numbers to the server interfaces.

RETURN VALUES

TRUE The message was handled and the appropriate function was called.

FALSE The message did not apply to the notification mechanism and no other action was taken.

Functions: notify_server, do_seqnos_mach_notify_dead_name, do_seqnos_mach_notify_no_senders, do_seqnos_mach_notify_port_deleted, do_seqnos_mach_notify_send_once.