mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
thread-loop: set thread name
This commit is contained in:
parent
eb8b1fd421
commit
b029000610
1 changed files with 1 additions and 0 deletions
|
|
@ -156,6 +156,7 @@ static void *do_loop(void *user_data)
|
|||
|
||||
pthread_mutex_lock(&this->lock);
|
||||
pw_log_debug("thread-loop %p: enter thread", this);
|
||||
pthread_setname_np(this->thread, this->name ? this->name : "pipewire-thread");
|
||||
pw_loop_enter(this->loop);
|
||||
|
||||
while (this->running) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue