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

Go to the source code of this file.

Classes

class  pulp::runtime::ScopedNoAlloc
 RAII guard that marks the current thread as "must not allocate". More...
class  pulp::runtime::ScopedAllocAllowed
 Narrow RAII exemption that SUSPENDS the no-alloc contract on the current thread while alive, even when one or more ScopedNoAlloc guards are still on the stack. More...

Namespaces

namespace  pulp
namespace  pulp::runtime

Functions

bool pulp::runtime::is_in_no_alloc_scope () noexcept
int pulp::runtime::no_alloc_scope_depth () noexcept
 Depth of nested ScopedNoAlloc instances on the current thread.
int pulp::runtime::no_alloc_allowed_depth () noexcept
 Depth of nested ScopedAllocAllowed instances on the current thread.