Back to Darwin Xnu

Clock Reply Server

osfmk/man/clock_reply_server.html

latest1.0 KB
Original Source

clock_reply_server


Function - Handle kernel-generated alarm.

SYNOPSIS

**boolean\_t clock\_reply\_server**** (mach\_msg\_header\_t **request\_msg,** mach\_msg\_header\_t **reply\_ms** );**

PARAMETERS

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

out_msg[out structure] Not used.

DESCRIPTION

The clock_reply_server function is the MIG generated server handling function to handle messages from the kernel corresponding to clock alarms. Such messages are delivered to the alarm reply port named in a clock_alarm call. The clock_reply_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 alarm mechanism and no other action was taken.

Functions: clock_alarm_reply.