From b90ba316b54db321d3e8aaac7df93b46d80b9d9c Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期二, 22 十二月 2020 15:47:41 +0800 Subject: [PATCH] 三个没有回收的信号 --- demo/stream_mod_req_rep.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/stream_mod_req_rep.c b/demo/stream_mod_req_rep.c index 5ae3133..24a2386 100644 --- a/demo/stream_mod_req_rep.c +++ b/demo/stream_mod_req_rep.c @@ -1,5 +1,5 @@ #include "mod_socket.h" -#include "shm_mm.h" +#include "shm_mm_wraper.h" #include "usg_common.h" void server(int port) { @@ -39,7 +39,7 @@ int main(int argc, char *argv[]) { - shm_init(512); + shm_mm_wrapper_init(512); int port; if (argc < 3) { fprintf(stderr, "Usage: reqrep %s|%s <PORT> ...\n", "server", "client"); -- Gitblit v1.8.0