Mercurial > hg > orthanc
diff OrthancServer/Plugins/Samples/DelayedDeletion/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 | 0e8dfba67ac9 |
children | 48b8dae6dc77 |
line wrap: on
line diff
--- a/OrthancServer/Plugins/Samples/DelayedDeletion/Plugin.cpp Tue Dec 05 16:28:16 2023 +0100 +++ b/OrthancServer/Plugins/Samples/DelayedDeletion/Plugin.cpp Tue Dec 05 17:22:36 2023 +0100 @@ -186,6 +186,8 @@ static void DeletionWorker() { + OrthancPluginSetCurrentThreadName(OrthancPlugins::GetGlobalContext(), "DELETION"); + static const unsigned int GRANULARITY = 100; // In milliseconds while (continue_)