Changeset 1181a3 for ThirdParty/JobMarket
- Timestamp:
- Apr 5, 2018, 1:19:33 PM (7 years ago)
- Branches:
- AutomationFragmentation_failures, Candidate_v1.6.1, ChemicalSpaceEvaluator, Enhanced_StructuralOptimization_continued, Exclude_Hydrogens_annealWithBondGraph, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_contraction-expansion, Gui_displays_atomic_force_velocity, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, PythonUI_with_named_parameters, StoppableMakroAction, TremoloParser_IncreasedPrecision
- Children:
- 0542e2
- Parents:
- 354a5f
- git-author:
- Frederik Heber <frederik.heber@…> (04/05/18 12:23:30)
- git-committer:
- Frederik Heber <frederik.heber@…> (04/05/18 13:19:33)
- Location:
- ThirdParty/JobMarket/src/JobMarket
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/JobMarket/src/JobMarket/FragmentScheduler.cpp
r354a5f r1181a3 61 61 boost::bind(&FragmentScheduler::sendJobToWorker, boost::ref(*this), _1, _2), 62 62 boost::bind(&FragmentScheduler::unmarkWorkerBusy, boost::ref(*this), _1)), 63 ControllerListener(_io_service, controllerport, JobsQueue, 63 ControllerListener(_io_service, controllerport, JobsQueue, pool, 64 64 boost::bind(&FragmentScheduler::removeAllWorkers, boost::ref(*this)), 65 65 boost::bind(&FragmentScheduler::shutdown, boost::ref(*this))), -
ThirdParty/JobMarket/src/JobMarket/FragmentScheduler.hpp
r354a5f r1181a3 165 165 unsigned short port, 166 166 FragmentQueue &_JobsQueue, 167 WorkerPool &_pool, 167 168 boost::function<void ()> _removeallWorkers, 168 169 boost::function<bool ()> _shutdownAllSockets) : 169 170 Listener(io_service, port), 170 171 JobsQueue(_JobsQueue), 172 pool(_pool), 171 173 jobInfo((size_t)2, 0), 172 174 NumberIds(0), … … 209 211 //!> reference to external FragmentQueue containing jobs to work on 210 212 FragmentQueue & JobsQueue; 213 214 //!> const reference to external pool of Workers 215 const WorkerPool & pool; 211 216 212 217 //!> bunch of jobs received from controller before placed in JobsQueue
Note:
See TracChangeset
for help on using the changeset viewer.