From b63ce299ddacea2ad487dc635926ed52ff422c20 Mon Sep 17 00:00:00 2001 From: wangzhengquan <wangzhengquan85@126.com> Date: 星期一, 03 八月 2020 11:40:17 +0800 Subject: [PATCH] add timeout nowait --- src/queue/include/shm_mm.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/queue/include/shm_mm.h b/src/queue/include/shm_mm.h index 6f28f13..ec094ac 100644 --- a/src/queue/include/shm_mm.h +++ b/src/queue/include/shm_mm.h @@ -18,7 +18,7 @@ */ void shm_destroy(); -void* shm_malloc_by_key(int key, int size); +int shm_alloc_key(); #ifdef __cplusplus -- Gitblit v1.8.0