From 28f9f739fad7944f64f7df2b8af046f57d50eb8b Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期二, 22 十二月 2020 16:01:34 +0800 Subject: [PATCH] three 信号量 --- 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