X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/743b15655a24ee3fe9f458f383003e011db0558f..13fec9890cf095cc781fdf7b8917cb03bf32dd4c:/osfmk/man/clock_sleep.html diff --git a/osfmk/man/clock_sleep.html b/osfmk/man/clock_sleep.html index 4354f0a3c..681bc605d 100755 --- a/osfmk/man/clock_sleep.html +++ b/osfmk/man/clock_sleep.html @@ -1 +1,79 @@ -
System Trap - Sleep until a given time.
kern_return_t clock_sleep (mach_port_t clock_name, sleep_type_t sleep_type, tvalspec_t sleep_time, clock_name wake_time);
The clock_sleep system trap delays the invoking thread until a specified time. This sleep may be aborted by thread_abort. Not all clocks provide this service but the REALTIME clock must.
If the specified time is in the past, the call returns immediately with the wake time being the current time. If the clock's time is changed (clock_set_time), the sleep will be interrupted. The thread will waken at the service time nearest the specified sleep time as governed by the current clock alarm resolution.
Functions: host_get_clock_service, clock_get_attributes, clock_get_time, clock_alarm, clock_set_time, thread_abort,
Data Structures: tvalspec. \ No newline at end of file +
+System Trap - Sleep until a given time. +
+kern_return_t clock_sleep + (mach_port_t clock_name, + sleep_type_t sleep_type, + tvalspec_t sleep_time, + clock_name wake_time); ++
+
+
+
+
+
+
+The clock_sleep system trap delays the invoking +thread until a specified time. This sleep may be aborted by +thread_abort. Not all clocks provide this service +but the REALTIME clock must. +
+If the specified time is in the past, the call returns immediately +with the wake time being the current time. If the clock's time is +changed (clock_set_time), the sleep will be +interrupted. The thread will waken at the service time nearest the +specified sleep time as governed by the current clock alarm +resolution. +
+
+
+Functions: +host_get_clock_service, +clock_get_attributes, +clock_get_time, +clock_alarm, +clock_set_time, +thread_abort, +
+Data Structures: +tvalspec.