tlog: update tlog
This commit is contained in:
@@ -1377,7 +1377,7 @@ static void *_tlog_work(void *arg)
|
|||||||
log = _tlog_wait_log_locked(log);
|
log = _tlog_wait_log_locked(log);
|
||||||
if (log == NULL) {
|
if (log == NULL) {
|
||||||
pthread_mutex_unlock(&tlog.lock);
|
pthread_mutex_unlock(&tlog.lock);
|
||||||
if (errno != ETIMEDOUT) {
|
if (errno != ETIMEDOUT && tlog.run) {
|
||||||
sleep(1);
|
sleep(1);
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user