mirror of
https://github.com/fumiama/simple-dict.git
synced 2026-06-12 14:10:50 +08:00
優化padding
This commit is contained in:
2
tcpool.h
2
tcpool.h
@@ -77,9 +77,9 @@ struct tcpool_thread_timer_t {
|
||||
pthread_cond_t tc; // lock by tmc
|
||||
pthread_mutex_t tmc; // lock tc&hastimerslept
|
||||
pthread_rwlock_t mb; // lock isbusy
|
||||
TCPOOL_THREAD_CONTEXT;
|
||||
uint8_t isbusy; // lock by mb
|
||||
uint8_t hastimerslept; // lock by tmc
|
||||
TCPOOL_THREAD_CONTEXT;
|
||||
};
|
||||
typedef struct tcpool_thread_timer_t tcpool_thread_timer_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user