Mercurial > hg > orthanc
diff Plugins/Include/orthanc/OrthancCPlugin.h @ 1466:0cd0f2ad3599
Fix potential deadlock in the callbacks of plugins
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 28 Jul 2015 09:11:37 +0200 |
parents | ad94a3583b07 |
children | 89ab71a68fcf |
line wrap: on
line diff
--- a/Plugins/Include/orthanc/OrthancCPlugin.h Mon Jul 27 17:33:47 2015 +0200 +++ b/Plugins/Include/orthanc/OrthancCPlugin.h Tue Jul 28 09:11:37 2015 +0200 @@ -14,7 +14,8 @@ * - Store the context pointer so that it can use the plugin * services of Orthanc. * - Register all its REST callbacks using ::OrthancPluginRegisterRestCallback(). - * - Register all its callbacks for received instances using ::OrthancPluginRegisterOnStoredInstanceCallback(). + * - Possibly register its callback for received DICOM instances using ::OrthancPluginRegisterOnStoredInstanceCallback(). + * - Possibly register its callback for changes to the DICOM store using ::OrthancPluginRegisterOnChangeCallback(). * - Possibly register a custom storage area using ::OrthancPluginRegisterStorageArea(). * - Possibly register a custom database back-end area using ::OrthancPluginRegisterDatabaseBackend(). * -# <tt>void OrthancPluginFinalize()</tt>: @@ -28,7 +29,7 @@ * The name and the version of a plugin is only used to prevent it * from being loaded twice. * - * The various callbacks are guaranteed to be executed in mutual + * The various REST callbacks are guaranteed to be executed in mutual * exclusion since Orthanc 0.8.5. **/