Lightweight locking class for protecting small critical sections.
This class provides support for one time initialization.
static OSThreadOnce once_
one time execution helper
static uninitialized< BitRangeNonAuthoritativeEventP > eventProducer_
Singleton instance of a BitRangeNonAuthoritativeEventP for the DCC accessory address Well-Known Event...
static uninitialized< std::vector< DccAccyProducer * > > instances_
Vector of all the subscribers to the DCC accessory address Well-Known Event ID Range.
static void once_routine()
Called once.
static Atomic instancesLock_
This lock protects the instances_ vector;.
Template class that allows allocating storage for an object but not calling its constructor.