Mercurial > hg > orthanc
diff OrthancServer/Plugins/Samples/Housekeeper/Plugin.cpp @ 5452:8345267e8de5
Added OrthancPluginSetCurrentThreadName() in the plugin SDK
author | Alain Mazy <am@osimis.io> |
---|---|
date | Tue, 05 Dec 2023 17:22:36 +0100 |
parents | c1037a755cee |
children | 48b8dae6dc77 |
line wrap: on
line diff
--- a/OrthancServer/Plugins/Samples/Housekeeper/Plugin.cpp Tue Dec 05 16:28:16 2023 +0100 +++ b/OrthancServer/Plugins/Samples/Housekeeper/Plugin.cpp Tue Dec 05 17:22:36 2023 +0100 @@ -599,6 +599,8 @@ static void WorkerThread() { + OrthancPluginSetCurrentThreadName(OrthancPlugins::GetGlobalContext(), "HOUSEKEEPER"); + DbConfiguration currentDbConfiguration; OrthancPluginLogWarning(OrthancPlugins::GetGlobalContext(), "Starting Housekeeper worker thread");