From b861de29176891657cc96631ddbfb4ea9e114a42 Mon Sep 17 00:00:00 2001 From: Fu Juntang <StrongTiger_001@163.com> Date: 星期一, 30 八月 2021 17:52:23 +0800 Subject: [PATCH] re-structure the communication work flow. --- src/shm/shm_mm.h | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/shm/shm_mm.h b/src/shm/shm_mm.h index 5339d8a..0ca0d08 100644 --- a/src/shm/shm_mm.h +++ b/src/shm/shm_mm.h @@ -8,6 +8,8 @@ #define SHM_QUEUE_ST_CLOSED 1 #define SHM_QUEUE_ST_RECYCLED 2 +#define SHM_QUEUE_ST_SET 50 + struct shm_queue_status_t { int status; @@ -49,4 +51,6 @@ int shm_mm_alloc_key(); +typedef std::map<SHMString, int, std::less<SHMString>, SHM_STL_Allocator<std::pair<const SHMString, int> > > ProcDataZone; + #endif -- Gitblit v1.8.0