next up previous contents index
Next: 6.18 Misc Up: 6.17 Driver-Kernel Interface: Timing Previous: 6.17.3 osenv_timer_unregister: Request a

6.17.4 osenv_timer_spin: Wait for a specified amount of time without blocking.

 

SYNOPSIS

void osenv_timer_spin(long nanosec);

DIRECTION

Component tex2html_wrap_inline32841 OS, Nonblocking

DESCRIPTION

This allows a driver component to block for a specified amount of time (usually for hardware to catch up) without blocking. Unlike with osenv_sleep, this cannot give up the process-level lock.

PARAMETERS

nanosec
Time to spin, in nanoseconds.



University of Utah Flux Research Group