userver: os_signals Namespace Reference
⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
os_signals Namespace Reference

Detailed Description

Components and functions to work with OS signals.

Classes

class  Processor
 A client that allows to subscribe to OS signals SIGUSR1 andSIGUSR2`. More...
 
class  ProcessorComponent
 A component for os_signals::Processor. More...
 
class  ProcessorMock
 Provides Processor for use in tests. More...
 

Typedefs

using Subscriber = concurrent::AsyncEventSubscriberScope
 

Variables

constexpr int kSigUsr1 = 10
 Constant for SIGUSR1.
 
constexpr int kSigUsr2 = 12
 Constant for SIGUSR2.
 

Typedef Documentation

◆ Subscriber

Variable Documentation

◆ kSigUsr1

constexpr int os_signals::kSigUsr1 = 10
inlineconstexpr

Constant for SIGUSR1.

Definition at line 18 of file processor.hpp.

◆ kSigUsr2

constexpr int os_signals::kSigUsr2 = 12
inlineconstexpr

Constant for SIGUSR2.

Definition at line 21 of file processor.hpp.