提交 94935818 编写于 作者: 陶建辉(Jeff)'s avatar 陶建辉(Jeff)

fix the remove queue bug

上级 e217738f
......@@ -282,7 +282,7 @@ void taosRemoveFromQset(taos_qset p1, taos_queue p2) {
pthread_mutex_lock(&queue->mutex);
atomic_sub_fetch_32(&qset->numOfItems, queue->numOfItems);
queue->qset = NULL;
pthread_mutex_lock(&queue->mutex);
pthread_mutex_unlock(&queue->mutex);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册