1
0
mirror of https://github.com/fumiama/simple-dict.git synced 2026-06-09 20:50:31 +08:00

add timer killing

This commit is contained in:
源文雨
2022-05-04 19:50:08 +08:00
parent 9f242cf965
commit 83abd73899

View File

@@ -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];