---
title: init
framework: driverkit
role: symbol
role_heading: Instance Method
path: driverkit/iodispatchqueue/init
---

# init

Initializes the dispatch queue object.

## Declaration

```occ
virtual bool init();
```

## Return Value

Return Value true if initialization was successful, or false if it was unsuccessful.

## Discussion

Discussion Do not call this method directly. Call Create when you want to create a new dispatch queue.

## See Also

### Creating a Dispatch Queue

- [Create](driverkit/iodispatchqueue/create.md)
- [free](driverkit/iodispatchqueue/free.md)
