comparison OrthancServer/Plugins/Engine/OrthancPlugins.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 59e3b6f8c5be
children 48b8dae6dc77
comparison
equal deleted inserted replaced
5451:b19bfb939323 5452:8345267e8de5
5528 *reinterpret_cast<const _OrthancPluginLoadDicomInstance*>(parameters); 5528 *reinterpret_cast<const _OrthancPluginLoadDicomInstance*>(parameters);
5529 ApplyLoadDicomInstance(p); 5529 ApplyLoadDicomInstance(p);
5530 return true; 5530 return true;
5531 } 5531 }
5532 5532
5533 case _OrthancPluginService_SetCurrentThreadName:
5534 {
5535 Logging::SetCurrentThreadName(std::string(reinterpret_cast<const char*>(parameters)));
5536 return true;
5537 }
5538
5533 default: 5539 default:
5534 return false; 5540 return false;
5535 } 5541 }
5536 } 5542 }
5537 5543