Table of Contents

Sparkle.Host.Shutdown Namespace

Anonymous methods

Name Description
TShutdownObserver A procedure type for observers that are called on entry to and on return from WaitForShutdown.

Methods

Name Description
InstallShutdown​Handlers Installs the operating system handlers that translate an external stop request into the notification awaited by WaitForShutdown.
RequestShutdown Requests shutdown from inside the process, releasing the thread blocked in WaitForShutdown.
SetWaitObservers Registers hooks invoked on entry to and on return from WaitForShutdown.
WaitForShutdown Blocks the calling thread until shutdown is requested, either by the operating system or by RequestShutdown.