4 The simplest possible configuration for asynchronous scheduling of single blocking algorithm. 8 from Configurables
import HiveWhiteBoard, HiveSlimEventLoopMgr, AvalancheSchedulerSvc, CPUCruncher
14 blockingAlgosInFlight = 3
17 whiteboard = HiveWhiteBoard(
"EventDataSvc",
21 slimeventloopmgr = HiveSlimEventLoopMgr(SchedulerName=
"AvalancheSchedulerSvc",
24 AvalancheSchedulerSvc(ThreadPoolSize=algosInFlight,
25 PreemptiveIOBoundTasks=
True,
26 MaxIOBoundAlgosInFlight=blockingAlgosInFlight,
30 blockingAlg = CPUCruncher(name=
"BlockingAlg",
41 EventLoop=slimeventloopmgr,
43 MessageSvcType=
"InertMessageSvc",
The Application Manager class.