提交 377e093a authored 作者: Anthony Minessale's avatar Anthony Minessale

mistake on last commit

上级 d659f8ce
......@@ -1714,10 +1714,9 @@ static void *SWITCH_THREAD_FUNC switch_user_sql_thread(switch_thread_t *thread,
if ((lc = qm_ttl(qm)) < qm->max_trans / 4) {
switch_yield(500000);
} else if (lc == 0) {
switch_thread_cond_wait(qm->cond, qm->cond_mutex);
} else {
switch_cond_next();
if ((lc = qm_ttl(qm)) == 0) {
switch_thread_cond_wait(qm->cond, qm->cond_mutex);
}
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论