Mercurial > hg > orthanc
diff Core/JobsEngine/Operations/SequenceOfOperationsJob.h @ 2620:1232922c8793 jobs
speeding up shutdown if Lua script is in trailing phase
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 22 May 2018 14:08:57 +0200 |
parents | 2f3007bf0708 |
children | e1893d31652a |
line wrap: on
line diff
--- a/Core/JobsEngine/Operations/SequenceOfOperationsJob.h Tue May 22 13:11:47 2018 +0200 +++ b/Core/JobsEngine/Operations/SequenceOfOperationsJob.h Tue May 22 14:08:57 2018 +0200 @@ -103,7 +103,7 @@ void SetTrailingOperationTimeout(unsigned int timeout); - void SetDicomConnectionTimeout(unsigned int timeout); + void SetDicomAssociationTimeout(unsigned int timeout); size_t AddOperation(IJobOperation* operation); @@ -139,5 +139,10 @@ virtual void GetPublicContent(Json::Value& value); virtual void GetInternalContent(Json::Value& value); + + void AwakeTrailingSleep() + { + operationAdded_.notify_one(); + } }; }