<!--
{
  "availability" : [
    "DriverKit: -",
    "iOS: -",
    "iPadOS: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "DriverKit",
  "identifier" : "/documentation/DriverKit/IODelay",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "DriverKit"
    ],
    "preciseIdentifier" : "c:@F@IODelay"
  },
  "title" : "IODelay"
}
-->

# IODelay

Sleep the calling thread for a number of microseconds.

```
void IODelay(uint64_t us);
```

## Parameters

`us`

The integer number of microseconds to wait.

## Discussion

This function blocks the calling thread for at least the number of specified microseconds, giving time to other processes.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)