comparison 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
comparison
equal deleted inserted replaced
5451:b19bfb939323 5452:8345267e8de5
597 } 597 }
598 598
599 599
600 static void WorkerThread() 600 static void WorkerThread()
601 { 601 {
602 OrthancPluginSetCurrentThreadName(OrthancPlugins::GetGlobalContext(), "HOUSEKEEPER");
603
602 DbConfiguration currentDbConfiguration; 604 DbConfiguration currentDbConfiguration;
603 605
604 OrthancPluginLogWarning(OrthancPlugins::GetGlobalContext(), "Starting Housekeeper worker thread"); 606 OrthancPluginLogWarning(OrthancPlugins::GetGlobalContext(), "Starting Housekeeper worker thread");
605 607
606 ReadStatusFromDb(); 608 ReadStatusFromDb();