mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-15 16:48:22 -04:00
Extra log message for debugging apparent db locking issue
This commit is contained in:
parent
4ad8d819e1
commit
c1be585469
5
src/db.c
5
src/db.c
@ -497,7 +497,10 @@ db_wait_unlock(void)
|
|||||||
pthread_mutex_lock(&u.lck);
|
pthread_mutex_lock(&u.lck);
|
||||||
|
|
||||||
if (!u.proceed)
|
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);
|
pthread_mutex_unlock(&u.lck);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user