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

# init

Initializes the dispatch queue object.

## Declaration

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

## 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](kernel/iodispatchqueue/3438189-create.md)
- [free](kernel/iodispatchqueue/3438197-free.md)
