---
title: IOPause
framework: kernel
role: symbol
role_heading: Function
path: kernel/1575333-iopause
---

# IOPause

Spin delay for a number of nanoseconds.

## Declaration

```occ
void IOPause(unsigned int nanoseconds);
```

## Parameters

- `microseconds`: The integer number of nanoseconds to spin wait.

## Discussion

Discussion This function spins to delay for at least the number of specified nanoseconds. Since the CPU is busy spinning no time is made available to other processes; this method of delay should be used only for short periods.

## See Also

### Sleep

- [IODelay](kernel/1575328-iodelay.md)
- [IOSleep](kernel/1575320-iosleep.md)
- [IOSleepWithLeeway](kernel/1575303-iosleepwithleeway.md)
