MantisBT - JANA
View Issue Details
0000426JANAFeature Requestpublic2014-12-03 06:182015-06-09 16:15
davidl 
davidl 
normalminorN/A
resolvedfixed 
0000426: Add event barrier
There are situations where special events are encountered in the data stream that may affect how the events following it are analyzed. These include EPICS events and sync events. In order to ensure that all subsequent events see the effects of the special event, but no previous ones still being processed do, a barrier mechanism is needed.

The barrier should be callable from the JEventSource::GetEvent() method and should let the event buffer drain completely before continuing.
No tags attached.
Issue History
2014-12-03 06:18davidlNew Issue
2014-12-03 06:19davidlStatusnew => assigned
2014-12-03 06:19davidlAssigned To => davidl
2015-06-09 16:15davidlNote Added: 0000642
2015-06-09 16:15davidlStatusassigned => resolved
2015-06-09 16:15davidlResolutionopen => fixed

Notes
(0000642)
davidl   
2015-06-09 16:15   
This was implemented in revision 2337 and will appear in JANA 0.7.3. If an event source calls:

event.SetSequential()

in its GetEvent method than the event is flagged to be run sequentially. A unit test called "event_barrier" was created to test the mechanism and it appears to work.