mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-09 13:39:47 -05:00
Extra log message for debugging apparent db locking issue
This commit is contained in:
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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user