rename a structure to remove the duplication

This commit is contained in:
Jeff Tao 2020-04-05 20:03:18 +08:00
parent 2ce6142cdc
commit a1f675c8d1
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ typedef struct {
SRpcMsg rpcMsg; SRpcMsg rpcMsg;
} SWriteMsg; } SWriteMsg;
typedef struct _thread_obj { typedef struct _wworker_pool {
int32_t max; // max number of workers int32_t max; // max number of workers
int32_t nextId; // from 0 to max-1, cyclic int32_t nextId; // from 0 to max-1, cyclic
SWriteWorker *writeWorker; SWriteWorker *writeWorker;