Replace IAsyncEventProcessor with IQueueingEventProcessor
All threads resolved!
All threads resolved!
After internal tests of the IAsyncEventProcessor
approach (see !878 (merged)) in LHCb (see lhcb/LHCb!1939 (merged)), it turned out that an interface based on promises and futures it not adequate to the Gaudi event loop, so we decided to replace it with a queue based interface (see LBCOMP-21).
The new interface IQueueingEventProcessor
is simple:
-
void push(EventContext&&)
- possibly blocking function to submit a new event for processing
-
std::optional<std::tuple<StatusCode, EventContext>> pop()
- non-blocking function to get the result of a processed event (the order may not match that of pushed events)
-
bool empty() const
- returns
true
if there's something in the system (either events being processed or results ready to be popped)
- returns
Edited by Marco Clemencic
Merge request reports
Activity
Filter activity
changed milestone to %v32r2
- [2019-09-04 12:32] Validation started with lhcb-gaudi-merge#814
- [2019-09-05 00:04] Validation started with lhcb-lcg-dev4#1019
- [2019-09-05 00:04] Validation started with lhcb-sanitizers#361
- [2019-09-05 00:06] Validation started with lhcb-dd4hep#303
- [2019-09-05 00:06] Validation started with lhcb-lcg-dev3#1010
- [2019-09-05 00:07] Validation started with lhcb-tdr-test#663
- [2019-09-05 00:07] Validation started with lhcb-test-throughput2#142
- [2019-09-05 00:09] Validation started with lhcb-run2-patches-dev4#69
- [2019-09-05 00:12] Validation started with lhcb-gaudi-head#2375
- [2019-09-06 00:04] Validation started with lhcb-dd4hep#304
- [2019-09-06 00:06] Validation started with lhcb-test-throughput2#143
- [2019-09-06 00:08] Validation started with lhcb-tdr-test#664
- [2019-09-06 00:09] Validation started with lhcb-lcg-dev3#1011
- [2019-09-06 00:09] Validation started with lhcb-sanitizers#362
- [2019-09-06 00:10] Validation started with lhcb-run2-patches-dev4#70
- [2019-09-06 00:10] Validation started with lhcb-gaudi-head#2376
- [2019-09-07 00:06] Validation started with lhcb-dd4hep#305
- [2019-09-07 00:07] Validation started with lhcb-lcg-dev3#1012
- [2019-09-07 00:07] Validation started with lhcb-test-throughput2#144
- [2019-09-07 00:07] Validation started with lhcb-tdr-test#665
- [2019-09-07 00:08] Validation started with lhcb-gaudi-head#2377
- [2019-09-07 00:08] Validation started with lhcb-lcg-dev4#1021
- [2019-09-07 00:08] Validation started with lhcb-sanitizers#363
- [2019-09-07 00:11] Validation started with lhcb-run2-patches-dev4#71
- [2019-09-08 00:06] Validation started with lhcb-dd4hep#306
- [2019-09-08 00:07] Validation started with lhcb-lcg-dev3#1013
- [2019-09-08 00:07] Validation started with lhcb-sanitizers#364
- [2019-09-08 00:08] Validation started with lhcb-gaudi-head#2378
- [2019-09-08 00:10] Validation started with lhcb-lcg-dev4#1022
- [2019-09-08 00:12] Validation started with lhcb-test-throughput2#145
- [2019-09-08 00:12] Validation started with lhcb-tdr-test#666
- [2019-09-08 00:15] Validation started with lhcb-run2-patches-dev4#72
- [2019-09-08 00:24] Validation started with lhcb-coverity#471
- [2019-09-09 00:05] Validation started with lhcb-lcg-dev4#1023
- [2019-09-09 00:06] Validation started with lhcb-gaudi-head#2379
- [2019-09-09 00:07] Validation started with lhcb-sanitizers#365
- [2019-09-09 00:07] Validation started with lhcb-dd4hep#307
- [2019-09-09 00:07] Validation started with lhcb-lcg-dev3#1014
- [2019-09-09 00:10] Validation started with lhcb-run2-patches-dev4#73
- [2019-09-09 00:10] Validation started with lhcb-test-throughput2#146
- [2019-09-09 00:10] Validation started with lhcb-tdr-test#667
- [2019-09-09 18:06] Validation started with lhcb-dd4hep#308
- [2019-09-10 00:04] Validation started with lhcb-dd4hep#309
- [2019-09-10 00:05] Validation started with lhcb-lcg-dev3#1015
- [2019-09-10 00:05] Validation started with lhcb-gaudi-head#2380
- [2019-09-10 00:07] Validation started with lhcb-test-throughput2#147
- [2019-09-10 00:08] Validation started with lhcb-lcg-dev4#1024
- [2019-09-10 00:08] Validation started with lhcb-tdr-test#668
- [2019-09-10 00:08] Validation started with lhcb-sanitizers#366
- [2019-09-10 00:09] Validation started with lhcb-run2-patches-dev4#74
- [2019-09-10 09:17] Validation started with lhcb-gaudi-head#2381
- [2019-09-10 11:27] Validation started with lhcb-lcg-dev4#1025
- [2019-09-10 11:30] Validation started with lhcb-lcg-dev3#1016
- [2019-09-10 12:33] Validation started with lhcb-dd4hep#310
- [2019-09-10 15:59] Validation started with lhcb-lcg-dev4#1026
- [2019-09-10 16:16] Validation started with lhcb-gaudi-head#2262
- [2019-09-11 00:05] Validation started with lhcb-lcg-dev4#1027
- [2019-09-11 00:05] Validation started with lhcb-lcg-dev3#1017
- [2019-09-11 00:05] Validation started with lhcb-sanitizers#367
- [2019-09-11 00:06] Validation started with lhcb-test-throughput2#148
- [2019-09-11 00:09] Validation started with lhcb-gaudi-head#2382
- [2019-09-11 00:14] Validation started with lhcb-run2-patches-dev4#75
- [2019-09-11 00:15] Validation started with lhcb-tdr-test#669
- [2019-09-11 15:30] Validation started with lhcb-dd4hep#312
- [2019-09-11 16:34] Validation started with lhcb-gaudi-head#2263
- [2019-09-12 00:04] Validation started with lhcb-dd4hep#313
- [2019-09-12 00:05] Validation started with lhcb-lcg-dev3#1018
- [2019-09-12 00:05] Validation started with lhcb-lcg-dev4#1028
- [2019-09-12 00:06] Validation started with lhcb-sanitizers#368
- [2019-09-12 00:07] Validation started with lhcb-gaudi-head#2383
- [2019-09-12 00:08] Validation started with lhcb-test-throughput2#149
- [2019-09-12 00:11] Validation started with lhcb-tdr-test#670
- [2019-09-12 00:11] Validation started with lhcb-run2-patches-dev4#76
- [2019-09-12 12:26] Validation started with lhcb-tdr-test#671
- [2019-09-13 00:05] Validation started with lhcb-dd4hep#314
- [2019-09-13 00:05] Validation started with lhcb-lcg-dev3#1019
- [2019-09-13 00:05] Validation started with lhcb-sanitizers#369
- [2019-09-13 00:07] Validation started with lhcb-test-throughput2#150
- [2019-09-13 00:07] Validation started with lhcb-gaudi-head#2384
- [2019-09-13 00:08] Validation started with lhcb-tdr-test#672
- [2019-09-13 00:09] Validation started with lhcb-run2-patches-dev4#77
- [2019-09-13 15:17] Validation started with lhcb-dd4hep#315
- [2019-09-14 00:05] Validation started with lhcb-lcg-dev4#1030
- [2019-09-14 00:05] Validation started with lhcb-lcg-dev3#1020
- [2019-09-14 00:05] Validation started with lhcb-sanitizers#370
- [2019-09-14 00:06] Validation started with lhcb-dd4hep#316
- [2019-09-14 00:07] Validation started with lhcb-test-throughput2#151
- [2019-09-14 00:08] Validation started with lhcb-gaudi-head#2385
- [2019-09-14 00:09] Validation started with lhcb-run2-patches-dev4#78
- [2019-09-14 00:10] Validation started with lhcb-tdr-test#673
- [2019-09-14 00:32] Validation started with lhcb-lcg-dev4#1030
- [2019-09-15 00:04] Validation started with lhcb-dd4hep#317
- [2019-09-15 00:04] Validation started with lhcb-gaudi-head#2386
- [2019-09-15 00:04] Validation started with lhcb-lcg-dev4#1031
- [2019-09-15 00:05] Validation started with lhcb-sanitizers#371
- [2019-09-15 00:06] Validation started with lhcb-test-throughput2#152
- [2019-09-15 00:08] Validation started with lhcb-lcg-dev3#1021
- [2019-09-15 00:08] Validation started with lhcb-run2-patches-dev4#79
- [2019-09-15 00:10] Validation started with lhcb-tdr-test#674
- [2019-09-15 00:24] Validation started with lhcb-coverity#472
- [2019-09-16 00:04] Validation started with lhcb-dd4hep#318
- [2019-09-16 00:04] Validation started with lhcb-lcg-dev3#1022
- [2019-09-16 00:05] Validation started with lhcb-lcg-dev4#1032
- [2019-09-16 00:05] Validation started with lhcb-sanitizers#372
- [2019-09-16 00:06] Validation started with lhcb-gaudi-head#2387
- [2019-09-16 00:07] Validation started with lhcb-test-throughput2#153
- [2019-09-16 00:08] Validation started with lhcb-tdr-test#675
- [2019-09-16 00:10] Validation started with lhcb-run2-patches-dev4#80
- [2019-09-16 12:44] Validation started with lhcb-gaudi-head#2265
- [2019-09-16 13:38] Validation started with lhcb-test-throughput2#11
- [2019-09-16 14:15] Validation started with lhcb-test-throughput2#12
- [2019-09-17 00:05] Validation started with lhcb-dd4hep#319
- [2019-09-17 00:06] Validation started with lhcb-lcg-dev4#1033
- [2019-09-17 00:06] Validation started with lhcb-lcg-dev3#1023
- [2019-09-17 00:06] Validation started with lhcb-sanitizers#373
- [2019-09-17 00:08] Validation started with lhcb-gaudi-head#2388
- [2019-09-17 00:09] Validation started with lhcb-tdr-test#676
- [2019-09-17 00:11] Validation started with lhcb-run2-patches-dev4#81
- [2019-09-17 00:11] Validation started with lhcb-test-throughput2#154
- [2019-09-18 00:04] Validation started with lhcb-dd4hep#320
- [2019-09-18 00:04] Validation started with lhcb-lcg-dev3#1024
- [2019-09-18 00:05] Validation started with lhcb-lcg-dev4#1034
- [2019-09-18 00:06] Validation started with lhcb-sanitizers#374
- [2019-09-18 00:07] Validation started with lhcb-gaudi-head#2389
- [2019-09-18 00:07] Validation started with lhcb-test-throughput2#155
- [2019-09-18 00:08] Validation started with lhcb-tdr-test#677
- [2019-09-18 00:09] Validation started with lhcb-run2-patches-dev4#82
- [2019-09-18 15:30] Validation started with lhcb-gaudi-head-py3#177
- [2019-09-19 00:04] Validation started with lhcb-dd4hep#321
- [2019-09-19 00:05] Validation started with lhcb-lcg-dev4#1035
- [2019-09-19 00:05] Validation started with lhcb-lcg-dev3#1025
- [2019-09-19 00:06] Validation started with lhcb-sanitizers#375
- [2019-09-19 00:07] Validation started with lhcb-gaudi-head-py3#178
- [2019-09-19 00:08] Validation started with lhcb-test-throughput2#156
- [2019-09-19 00:09] Validation started with lhcb-run2-patches-dev4#83
- [2019-09-19 00:09] Validation started with lhcb-gaudi-head#2390
- [2019-09-19 00:11] Validation started with lhcb-tdr-test#678
- [2019-09-19 10:38] Validation started with lhcb-gaudi-head-py3#179
- [2019-09-19 13:18] Validation started with lhcb-gaudi-head-py3#180
- [2019-09-19 13:26] Validation started with lhcb-gaudi-head#2391
Edited by Software for LHCbmentioned in merge request lhcb/LHCb!1939 (merged)
- Resolved by Marco Clemencic
- Resolved by Marco Clemencic
added 1 commit
- c024f896 - Apply suggestion to GaudiExamples/src/QueueingEventProcessor/QueueingEventLoopMgr.cpp
added 31 commits
-
c024f896...c3048316 - 24 commits from branch
gaudi:master
- 1b6de27b - Add micro benchmark of asynchronous scheduling interfaces
- ad1f3921 - Add IQueueingEventProcessor interface and examples
- 41ce0a1c - Reduced the IQueueingEventProcessor interface to the minimum
- b04f7416 - Remove IAsyncEventLoopMgr
- 069d0735 - Revert "Add micro benchmark of asynchronous scheduling interfaces"
- 34b4feed - Apply suggestion to GaudiExamples/src/QueueingEventProcessor/QueueingEventLoopMgr.cpp
- 76b92f09 - Replace CPP macros with templated member function
Toggle commit list-
c024f896...c3048316 - 24 commits from branch
added 1 commit
- 7d34a571 - Replace CPP macros with templated member function
mentioned in commit 8a3b1102
mentioned in issue lhcb/LHCb#152
Please register or sign in to reply