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

LinkedListSL, a doubly linked list element whose operations are guarded by a spin lock. More...

#include "LinkedList.hh"
#include "SpinLock.hh"
#include <mutex>

Classes

class  Pds::LinkedListSL< T >
 Typed wrapper over Pds::ListBase (private base) in which every operation holds a per-object Pds::SpinLock. More...
 

Namespaces

namespace  Pds
 Outer namespace of the HSD digitizer helpers.
 

Macros

#define SL()   std::lock_guard<Pds::SpinLock> lk(_lock)
 Declares a std::lock_guard on the member spin lock _lock for the rest of the enclosing scope; undefined at the end of this header.
 

Detailed Description

LinkedListSL, a doubly linked list element whose operations are guarded by a spin lock.

Macro Definition Documentation

◆ SL

#define SL ( )    std::lock_guard<Pds::SpinLock> lk(_lock)

Declares a std::lock_guard on the member spin lock _lock for the rest of the enclosing scope; undefined at the end of this header.