fix rpc perf
This commit is contained in:
parent
f97b972191
commit
bab1b9c621
|
@ -44,11 +44,11 @@ typedef struct {
|
||||||
void (*fp)(void *);
|
void (*fp)(void *);
|
||||||
} SRefSet;
|
} SRefSet;
|
||||||
|
|
||||||
static SRefSet tsRefSetList[TSDB_REF_OBJECTS];
|
static SRefSet tsRefSetList[TSDB_REF_OBJECTS];
|
||||||
static TdThreadOnce tsRefModuleInit = PTHREAD_ONCE_INIT;
|
static TdThreadOnce tsRefModuleInit = PTHREAD_ONCE_INIT;
|
||||||
static TdThreadMutex tsRefMutex;
|
static TdThreadMutex tsRefMutex;
|
||||||
static int32_t tsRefSetNum = 0;
|
static int32_t tsRefSetNum = 0;
|
||||||
static int32_t tsNextId = 0;
|
static int32_t tsNextId = 0;
|
||||||
|
|
||||||
static void taosInitRefModule(void);
|
static void taosInitRefModule(void);
|
||||||
static void taosLockList(int64_t *lockedBy);
|
static void taosLockList(int64_t *lockedBy);
|
||||||
|
|
Loading…
Reference in New Issue