summaryrefslogtreecommitdiff
path: root/src/rmd_threads.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-07-12 09:42:08 -0700
committerVito Caputo <vcaputo@pengaru.com>2020-07-12 10:13:06 -0700
commit95e8bdaa25c9bf840c41995aac3fb141468a72b3 (patch)
tree6e16e6fc17f6313deb1c3de294966bd3dab557af /src/rmd_threads.h
parent46e9069fdbc58bd1febde1a493b1fe7aa9456527 (diff)
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...
Diffstat (limited to 'src/rmd_threads.h')
-rw-r--r--src/rmd_threads.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rmd_threads.h b/src/rmd_threads.h
index e2c103a..6ca2dbd 100644
--- a/src/rmd_threads.h
+++ b/src/rmd_threads.h
@@ -38,6 +38,7 @@
* \param pdata ProgData struct containing all program data
*/
void rmdThreads(ProgData *pdata);
+void rmdThreadsSetName(const char *name);
#endif
© All Rights Reserved