1
0
mirror of https://github.com/fumiama/simple-dict.git synced 2026-06-19 10:26:24 +08:00

优化代码结构

This commit is contained in:
fumiama
2021-12-08 20:25:23 +08:00
parent 9fb518368a
commit 21d0e04670
3 changed files with 9 additions and 3 deletions

View File

@@ -12,6 +12,7 @@
#include <signal.h>
#include <time.h>
#include <simple_protobuf.h>
#include "server.h"
#include "dict.h"
#include "config.h"
@@ -29,9 +30,6 @@
static struct sockaddr_in client_addr;
#endif
#define THREADCNT 16
#define MAXWAITSEC 10
struct THREADTIMER {
uint32_t index;
time_t touch;