Move calls to thread_setname() into the thread start routines and move to a single argument thread_setname()

This commit is contained in:
Brad Keifer
2025-11-09 18:52:35 +11:00
parent 28528abbcd
commit 9c8728f10f
14 changed files with 22 additions and 22 deletions

View File

@@ -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: