sync refactor

This commit is contained in:
Minghao Li 2022-03-21 16:56:37 +08:00
parent 0f176a3afc
commit b8a13daf9f
1 changed files with 2 additions and 2 deletions

View File

@ -114,8 +114,8 @@ int main() {
assert(rid > 0);
for (int i = 0; i < 20; ++i) {
pthread_t tid;
pthread_create(&tid, NULL, func, (void *)rid);
TdThread tid;
taosThreadCreate(&tid, NULL, func, (void *)rid);
}
int32_t ms = taosRand() % 10000;