CMS 3D CMS Logo

LuminosityBlockProcessingStatus.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // Package: FWCore/Framework
4 // Class : LuminosityBlockProcessingStatus
5 //
6 // Implementation:
7 // [Notes on implementation]
8 //
9 // Original Author: Chris Jones
10 // Created: Thu, 11 Jan 2018 16:41:46 GMT
11 //
12 
13 // system include files
14 
15 // user include files
18 
19 namespace edm {
21  if (2 != endTimeSetStatus_) {
22  //not already set
23  char expected = 0;
24  if (endTimeSetStatus_.compare_exchange_strong(expected, 1)) {
25  lumiPrincipal_->setEndTime(endTime_);
26  endTimeSetStatus_.store(2);
27  } else {
28  //wait until time is set
29  while (2 != endTimeSetStatus_.load()) {
30  }
31  }
32  }
33  }
34 } // namespace edm
std::shared_ptr< LuminosityBlockPrincipal > lumiPrincipal_
HLT enums.