# %pause() function

The %pause() function suspends the calling
process until it receives a signal.

**For Windows:** Not Supported

## Syntax

```
 (void)%pause()
```

## Description

Break, Esc, a logoff, a signal, or a message sent by another process causes the process to resume
 execution. In case of a logoff, control is not returned to the FlashBASIC program. This is
 equivalent to an infinite sleep.

 Only `SIGUSR2` should be used to wake up a process waiting in
 %pause().

## See also

- [FlashBASIC C functions overview](https://d3codex.com/pickbasic-flashbasic/flashbasic-c-functions-overview/)
- [cfunction statement](https://d3codex.com/pickbasic-flashbasic/cfunction-statement/)

---
Source: https://d3codex.com/pickbasic-flashbasic/percent-pause-function/ - part of the D3Codex reference.
