Alive thread implemented

This commit is contained in:
2026-04-11 09:50:59 +02:00
parent 8e5381fda2
commit 52aa0cac10
10 changed files with 215 additions and 31 deletions

View File

@@ -37,10 +37,13 @@ public:
int depth();
public:
bool dequeue(int &cmd, std::string &json_data, bool wait = false);
bool dequeue(int &cmd, std::string &json_data, int wait_ms = 0);
void enqueue(int cmd, const std::string &json_data);
void enqueue(int cmd);
public:
void takeOwnership();
public:
ShmQueue(Shm *shm, ShmSlot slot, bool owner);
~ShmQueue();