lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
SpinLock.hh File Reference

SpinLock, a busy-waiting lock on std::atomic_flag, usable with std::lock_guard. More...

#include <atomic>
#include <thread>

Classes

class  Pds::SpinLock
 Busy-waiting lock on an atomic flag; satisfies the lock() and unlock() interface of std::lock_guard. More...
 

Namespaces

namespace  Pds
 Outer namespace of the HSD digitizer helpers.
 

Detailed Description

SpinLock, a busy-waiting lock on std::atomic_flag, usable with std::lock_guard.