mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-25 20:16:14 -05:00
Move calls to thread_setname() into the thread start routines and move to a single argument thread_setname()
This commit is contained in:
@@ -656,6 +656,8 @@ input(void *arg)
|
||||
{
|
||||
int ret;
|
||||
|
||||
thread_setname("input");
|
||||
|
||||
ret = db_perthread_init();
|
||||
if (ret < 0)
|
||||
{
|
||||
@@ -932,8 +934,6 @@ input_init(void)
|
||||
goto thread_fail;
|
||||
}
|
||||
|
||||
thread_setname(tid_input, "input");
|
||||
|
||||
return 0;
|
||||
|
||||
thread_fail:
|
||||
|
||||
Reference in New Issue
Block a user