STTNet
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Classes | Typedefs
stt::system Namespace Reference

System settings, process control, heartbeat monitoring, etc. More...

Classes

class  ServerSetting
 Class for initializing the service system. More...
 
class  csemp
 Synchronization tool class encapsulating System V semaphores. More...
 
struct  ProcessInf
 Structure for process information. More...
 
class  HBSystem
 Class responsible for process heartbeat monitoring and scheduling Used to monitor service processes and ensure they continue to run effectively After the process ends, the shared memory at 0x5095 and the semaphore are not deleted Currently only supports processes with up to three parameters to join monitoring The logic of joining the heartbeat monitoring system, updating heartbeats, and checking the heartbeat system should be manually written in the program. This class only provides call interfaces. More...
 
class  Process
 Static utility class for process management. More...
 
class  WorkerPool
 Fixed-size worker thread pool. More...
 

Typedefs

using Task = std::function< void()>
 

Detailed Description

System settings, process control, heartbeat monitoring, etc.

Typedef Documentation

using stt::system::Task = typedef std::function<void()>