MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / ExecutionContext

Method ExecutionContext

src/framework/core/execution_context.cpp:7–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5namespace engine::core {
6
7ExecutionContext::ExecutionContext(const BackendConfig & config)
8 : config_(config),
9 backend_(init_backend(config)) {
10 if (backend_ != nullptr && config_.threads > 0) {
11 set_backend_threads(backend_, config_.threads);
12 }
13}
14
15ExecutionContext::~ExecutionContext() {
16 if (backend_ != nullptr) {

Callers

nothing calls this directly

Calls 2

init_backendFunction · 0.85
set_backend_threadsFunction · 0.85

Tested by

no test coverage detected