summaryrefslogtreecommitdiffstats
path: root/osdep/terminal-unix.c
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-10-22 20:59:34 +0200
committerDudemanguy <random342@airmail.cc>2023-10-27 23:18:56 +0000
commitcb829879af8f2c93fd77c47f12c162d4ce580e30 (patch)
tree8307eb9ab1fa788f6a85bf1b69ceebb3c91bdb35 /osdep/terminal-unix.c
parent65806ac4d13913d23fa64f87e01ff760f2e2b329 (diff)
downloadmpv-cb829879af8f2c93fd77c47f12c162d4ce580e30.tar.bz2
mpv-cb829879af8f2c93fd77c47f12c162d4ce580e30.tar.xz
mp_threads: rename threads for consistent naming across all of them
I'd like some names to be more descriptive, but to work with 15 chars limit we have to make some sacrifice. Also because of the limit, remove the `mpv/` prefix and prioritize actuall thread name.
Diffstat (limited to 'osdep/terminal-unix.c')
-rw-r--r--osdep/terminal-unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/terminal-unix.c b/osdep/terminal-unix.c
index d31e1e753f..43a74e6bdb 100644
--- a/osdep/terminal-unix.c
+++ b/osdep/terminal-unix.c
@@ -408,7 +408,7 @@ static void quit_request_sighandler(int signum)
static void *terminal_thread(void *ptr)
{
- mpthread_set_name("terminal");
+ mpthread_set_name("terminal/input");
bool stdin_ok = read_terminal; // if false, we still wait for SIGTERM
while (1) {
getch2_poll();