---
title: commandWakeup
framework: kernel
role: pseudoSymbol
path: kernel/iocommandgate/1811517-commandwakeup
---

# commandWakeup

Wakeup one or more threads that are asleep on an event.

## Declaration

```occ
virtual void commandWakeup(
 void *event,
 bool oneThread = false); 
```

## Parameters

- `event`: Pointer to an address.
- `onlyOneThread`: true to only wake up at most one thread, false otherwise.

## See Also

### Miscellaneous

- [attemptAction](kernel/iocommandgate/1811105-attemptaction.md)
- [attemptCommand](kernel/iocommandgate/1811141-attemptcommand.md)
- [commandGate](kernel/iocommandgate/1811293-commandgate.md)
- [commandSleep(void *, AbsoluteTime, UInt32)](kernel/iocommandgate/1811482-commandsleep.md)
- [commandSleep(void *, UInt32)](kernel/iocommandgate/1811498-commandsleep.md)
- [disable](kernel/iocommandgate/1811531-disable.md)
- [enable](kernel/iocommandgate/1811547-enable.md)
- [init](kernel/iocommandgate/1811560-init.md)
- [runAction](kernel/iocommandgate/1811576-runaction.md)
- [runCommand](kernel/iocommandgate/1811585-runcommand.md)
