comparison 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
comparison
equal deleted inserted replaced
2619:4ecb79c6e81c 2620:1232922c8793
101 return that_.done_; 101 return that_.done_;
102 } 102 }
103 103
104 void SetTrailingOperationTimeout(unsigned int timeout); 104 void SetTrailingOperationTimeout(unsigned int timeout);
105 105
106 void SetDicomConnectionTimeout(unsigned int timeout); 106 void SetDicomAssociationTimeout(unsigned int timeout);
107 107
108 size_t AddOperation(IJobOperation* operation); 108 size_t AddOperation(IJobOperation* operation);
109 109
110 size_t GetOperationsCount() const 110 size_t GetOperationsCount() const
111 { 111 {
137 } 137 }
138 138
139 virtual void GetPublicContent(Json::Value& value); 139 virtual void GetPublicContent(Json::Value& value);
140 140
141 virtual void GetInternalContent(Json::Value& value); 141 virtual void GetInternalContent(Json::Value& value);
142
143 void AwakeTrailingSleep()
144 {
145 operationAdded_.notify_one();
146 }
142 }; 147 };
143 } 148 }