Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
background_job.hpp File Reference
#include <pulp/runtime/cancel.hpp>
#include <pulp/runtime/spsc_queue.hpp>
#include <atomic>
#include <condition_variable>
#include <cstddef>
#include <cstdint>
#include <deque>
#include <functional>
#include <memory>
#include <mutex>
#include <optional>
#include <string>
#include <thread>
#include <vector>

Go to the source code of this file.

Classes

struct  pulp::runtime::BackgroundJobProgress
class  pulp::runtime::BackgroundJobContext
class  pulp::runtime::BackgroundJobHandle
struct  pulp::runtime::BackgroundJobOptions
class  pulp::runtime::BackgroundJobService
class  pulp::runtime::RealtimeResourceSlot< T, RetireCapacity >
 Control-thread owner for resources prepared off the audio thread and read from the audio thread through an atomic raw pointer. More...

Namespaces

namespace  pulp
namespace  pulp::runtime

Typedefs

using pulp::runtime::BackgroundJobFunction = std::function<void(BackgroundJobContext&)>

Enumerations

enum class  pulp::runtime::BackgroundJobPriority { pulp::runtime::low = 0 , pulp::runtime::normal = 1 , pulp::runtime::high = 2 }
enum class  pulp::runtime::RealtimeResourceSlotPublishStatus : std::uint8_t { pulp::runtime::Published , pulp::runtime::RejectedEmptyResource , pulp::runtime::RejectedRetireQueueFull }

Functions

constexpr bool pulp::runtime::realtime_resource_slot_publish_succeeded (RealtimeResourceSlotPublishStatus status) noexcept