From 95e8bdaa25c9bf840c41995aac3fb141468a72b3 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sun, 12 Jul 2020 09:42:08 -0700 Subject: threads: introduce and use rmdThreadsSetName() Now users can easily differentiate which rmd subtasks are busy by using top-like tools in show-threads mode. Also aids in troubleshooting... --- src/rmd_cache_audio.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/rmd_cache_audio.c') diff --git a/src/rmd_cache_audio.c b/src/rmd_cache_audio.c index fabcb39..8becef4 100644 --- a/src/rmd_cache_audio.c +++ b/src/rmd_cache_audio.c @@ -28,6 +28,7 @@ #include "rmd_cache_audio.h" #include "rmd_jack.h" +#include "rmd_threads.h" #include "rmd_types.h" #include @@ -50,6 +51,8 @@ void *rmdCacheSoundBuffer(ProgData *pdata) { } #endif + rmdThreadsSetName("rmdCacheSounds"); + //We are simply going to throw sound on the disk. //It's sound is tiny compared to that of image, so //compressing would reducethe overall size by only an -- cgit v1.2.1