From 4d3d7ff8857866f347eb71875e6598226c6aeb88 Mon Sep 17 00:00:00 2001 From: liuxiaolong <liuxiaolong@aiotlink.com> Date: 星期四, 30 九月 2021 11:35:50 +0800 Subject: [PATCH] do BHFree defer and call BHFree after call sendReply --- src/bus_def.h | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/bus_def.h b/src/bus_def.h index 78a7eb9..9634883 100644 --- a/src/bus_def.h +++ b/src/bus_def.h @@ -4,4 +4,11 @@ #define BUS_TIMEOUT_FLAG 1 #define BUS_NOWAIT_FLAG 1 << 1 +#define SHM_RES_SIZE 512 + +#define SHM_BUS_PROC_MAP_KEY 10 +#define SHM_BUS_PROC_TCS_MAP_KEY 11 +#define SHM_BUS_TCS_MAP_KEY 20 +#define SHM_BUS_PROC_PART_MAP_KEY 30 + #endif \ No newline at end of file -- Gitblit v1.8.0