comparison OrthancServer/Sources/ServerContext.h @ 5183:5ec3dcdf78b9

renamed HousekeeperThread as MemoryTrimmingThread to avoid confusion with Housekeeper plugin
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 25 Mar 2023 12:07:39 +0100
parents cddf28cfcd8d
children 0ea402b4d901
comparison
equal deleted inserted replaced
5182:cddf28cfcd8d 5183:5ec3dcdf78b9
186 186
187 static void SaveJobsThread(ServerContext* that, 187 static void SaveJobsThread(ServerContext* that,
188 unsigned int sleepDelay); 188 unsigned int sleepDelay);
189 189
190 #if HAVE_MALLOC_TRIM == 1 190 #if HAVE_MALLOC_TRIM == 1
191 static void HousekeeperThread(ServerContext* that, 191 static void MemoryTrimmingThread(ServerContext* that,
192 unsigned int sleepDelay); 192 unsigned int sleepDelay);
193 #endif 193 #endif
194 194
195 void SaveJobsEngine(); 195 void SaveJobsEngine();
196 196
197 virtual void SignalJobSubmitted(const std::string& jobId) ORTHANC_OVERRIDE; 197 virtual void SignalJobSubmitted(const std::string& jobId) ORTHANC_OVERRIDE;
233 bool haveJobsChanged_; 233 bool haveJobsChanged_;
234 bool isJobsEngineUnserialized_; 234 bool isJobsEngineUnserialized_;
235 SharedMessageQueue pendingChanges_; 235 SharedMessageQueue pendingChanges_;
236 boost::thread changeThread_; 236 boost::thread changeThread_;
237 boost::thread saveJobsThread_; 237 boost::thread saveJobsThread_;
238 boost::thread housekeeperThread_; 238 boost::thread memoryTrimmingThread_;
239 239
240 std::unique_ptr<SharedArchive> queryRetrieveArchive_; 240 std::unique_ptr<SharedArchive> queryRetrieveArchive_;
241 std::string defaultLocalAet_; 241 std::string defaultLocalAet_;
242 OrthancHttpHandler httpHandler_; 242 OrthancHttpHandler httpHandler_;
243 bool saveJobs_; 243 bool saveJobs_;