From 28f9f739fad7944f64f7df2b8af046f57d50eb8b Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期二, 22 十二月 2020 16:01:34 +0800 Subject: [PATCH] three 信号量 --- src/queue/mm.c | 2 +- test_net_socket/test_net_mod_socket.c | 1 + 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/queue/mm.c b/src/queue/mm.c index dc6f5be..d7cc375 100644 --- a/src/queue/mm.c +++ b/src/queue/mm.c @@ -333,7 +333,7 @@ else LoggerFactory::getLogger()->debug("shared memory destroy\n"); - LoggerFactory::getLogger()->debug(errno, "mm_destroy: real destroy."); + LoggerFactory::getLogger()->debug( "mm_destroy: real destroy."); SemUtil::inc(mutex); SemUtil::remove(mutex); diff --git a/test_net_socket/test_net_mod_socket.c b/test_net_socket/test_net_mod_socket.c index f777773..1ca04d0 100644 --- a/test_net_socket/test_net_mod_socket.c +++ b/test_net_socket/test_net_mod_socket.c @@ -46,6 +46,7 @@ if(strcmp(action, "close") == 0) { net_mod_server_socket_close(sockt); + shm_mm_wrapper_destroy(); break; } else { printf("Invalide action\n"); -- Gitblit v1.8.0