From 83abd73899992b0b9aa8c7f995e7427c137bde47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BA=90=E6=96=87=E9=9B=A8?= <41315874+fumiama@users.noreply.github.com> Date: Wed, 4 May 2022 19:50:08 +0800 Subject: [PATCH] add timer killing --- server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.c b/server.c index 527de3b..8696f7d 100644 --- a/server.c +++ b/server.c @@ -50,7 +50,7 @@ static DICT* setdict; static uint32_t* items_len; static CONFIG cfg; static pthread_attr_t attr; -static volatile pthread_rwlock_t mu; +static pthread_rwlock_t mu; #define DICTPOOLSZ (((uint32_t)-1)>>((sizeof(uint32_t)*8-DICTPOOLBIT))) static DICT* dict_pool[DICTPOOLSZ+1];