sync refactor
This commit is contained in:
parent
0f176a3afc
commit
b8a13daf9f
|
@ -114,8 +114,8 @@ int main() {
|
||||||
assert(rid > 0);
|
assert(rid > 0);
|
||||||
|
|
||||||
for (int i = 0; i < 20; ++i) {
|
for (int i = 0; i < 20; ++i) {
|
||||||
pthread_t tid;
|
TdThread tid;
|
||||||
pthread_create(&tid, NULL, func, (void *)rid);
|
taosThreadCreate(&tid, NULL, func, (void *)rid);
|
||||||
}
|
}
|
||||||
|
|
||||||
int32_t ms = taosRand() % 10000;
|
int32_t ms = taosRand() % 10000;
|
||||||
|
|
Loading…
Reference in New Issue