MCPcopy Create free account
hub / github.com/Audio4Linux/JDSP4Linux / run

Method run

3rdparty/asyncplusplus/include/async++/task_base.h:394–399  ·  view source on GitHub ↗

Run the stored function

Source from the content-addressed store, hash-verified

392
393 // Run the stored function
394 static void run(task_base* t) LIBASYNC_NOEXCEPT
395 {
396 LIBASYNC_TRY {
397 // Dispatch to execution function
398 static_cast<task_func<Sched, Func, Result>*>(t)->get_func()(t);
399 } LIBASYNC_CATCH(...) {
400 cancel(t, std::current_exception());
401 }
402 }

Callers 4

scheduleMethod · 0.45
try_run_one_taskMethod · 0.45
thread_task_loopFunction · 0.45
callbackMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected