[Overview][Resource strings][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'daemonapp' (#fcl)

# TCurrentStatus

Current daemon status

## Declaration

Source position: daemonapp.pp line 38

`type TCurrentStatus = (`
`csStopped,` |  | The daemon is stopped, i.e. inactive.
`csStartPending,` |  | The daemon is starting, but not yet fully running.
`csStopPending,` |  | The daemon is stopping, but not yet fully stopped.
`csRunning,` |  | The daemon is running (it is operational).
`csContinuePending,` |  | The daemon is continuing, but not yet running
`csPausePending,` |  | The daemon is about to be paused.
`csPaused` |  | The daemon is paused: running but not active.
`);`

## Description

TCurrentStatus indicates the current state of the daemon. It changes from one state to the next during the time the instance is active. The daemon application changes the state of the daemon, depending on signals it gets from the operating system, by calling the appropriate methods.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.