void osenv_timer_spin(long nanosec);
ComponentOS, Nonblocking
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.
- nanosec
- Time to spin, in nanoseconds.