diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2023-10-22 20:59:34 +0200 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-10-27 23:18:56 +0000 |
commit | cb829879af8f2c93fd77c47f12c162d4ce580e30 (patch) | |
tree | 8307eb9ab1fa788f6a85bf1b69ceebb3c91bdb35 /osdep/macosx_application.m | |
parent | 65806ac4d13913d23fa64f87e01ff760f2e2b329 (diff) | |
download | mpv-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/macosx_application.m')
-rw-r--r-- | osdep/macosx_application.m | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/osdep/macosx_application.m b/osdep/macosx_application.m index bf60e05389..78fcb5cb48 100644 --- a/osdep/macosx_application.m +++ b/osdep/macosx_application.m @@ -275,7 +275,7 @@ static void cocoa_run_runloop(void) static void *playback_thread(void *ctx_obj) { - mpthread_set_name("playback core (OSX)"); + mpthread_set_name("core/playback"); @autoreleasepool { struct playback_thread_ctx *ctx = (struct playback_thread_ctx*) ctx_obj; int r = mpv_main(*ctx->argc, *ctx->argv); @@ -377,4 +377,3 @@ int cocoa_main(int argc, char *argv[]) return 1; } } - |