[FEAT MERGE] system resource optimization

Co-authored-by: tushicheng <18829573815@163.com>
Co-authored-by: HaHaJeff <jeffzhouhhh@gmail.com>
Co-authored-by: dimstars <liangjinrongcm@gmail.com>
This commit is contained in:
obdev
2023-08-29 10:41:01 +00:00
committed by ob-robot
parent 7678a4a676
commit 81b8923b14
191 changed files with 2817 additions and 2464 deletions

View File

@ -148,7 +148,7 @@ enum {
// async + spinlock
#define EASY_BASETH_DEFINE \
easy_baseth_on_start_pt *on_start; \
pthread_t tid; \
void *tid; \
int idx, iot; \
struct ev_loop *loop; \
ev_tstamp lastrun; \
@ -690,7 +690,7 @@ struct easy_thread_pool_t {
easy_list_t list_node;
easy_thread_pool_t *next;
char *last;
pthread_t monitor_tid;
void *monitor_tid;
easy_io_thread_t *ratelimit_thread;
char data[0];
};