Alive thread implemented
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user