Extra log message for debugging apparent db locking issue

This commit is contained in:
ejurgensen 2014-05-13 22:02:32 +02:00
parent 4ad8d819e1
commit c1be585469

View File

@ -497,7 +497,10 @@ db_wait_unlock(void)
pthread_mutex_lock(&u.lck);
if (!u.proceed)
pthread_cond_wait(&u.cond, &u.lck);
{
DPRINTF(E_INFO, L_DB, "Waiting for database unlock\n");
pthread_cond_wait(&u.cond, &u.lck);
}
pthread_mutex_unlock(&u.lck);
}