Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
triple_buffer.hpp File Reference

Lock-free latest-value publication between two threads. More...

#include <atomic>
#include <cassert>
#include <array>
#include <cstdint>
#include <type_traits>
#include <utility>

Go to the source code of this file.

Classes

class  pulp::runtime::TripleBuffer< T >
 Lock-free triple buffer for publishing the latest value from a writer thread to a reader thread without blocking either side. More...

Namespaces

namespace  pulp
namespace  pulp::runtime

Detailed Description

Lock-free latest-value publication between two threads.