atomic init
This commit is contained in:
parent
21dd6f70a9
commit
ca5e252c0c
|
@ -1624,7 +1624,7 @@ _exit:
|
||||||
taos_counter_destroy(counter);
|
taos_counter_destroy(counter);
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
atomic_store_ptr(insert_counter, counter);
|
atomic_store_ptr(&insert_counter, counter);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue