Back to Darwin Xnu

Notify Server

osfmk/man/notify_server.html

latest1.4 KB
Original Source

notify_server


Function - Handle the next kernel-generated IPC notification.

SYNOPSIS

**boolean\_t 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 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 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.

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: seqnos_notify_server, do_mach_notify_dead_name, do_mach_notify_no_senders, do_mach_notify_port_deleted, do_mach_notify_send_once.