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

Function is_finished

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

Determine whether a task is in a final state

Source from the content-addressed store, hash-verified

36
37// Determine whether a task is in a final state
38inline bool is_finished(task_state s)
39{
40 return s == task_state::completed || s == task_state::canceled;
41}
42
43// Virtual function table used to allow dynamic dispatch for task objects.
44// While this is very similar to what a compiler would generate with virtual

Callers 4

readyFunction · 0.85
add_continuationFunction · 0.85
waitFunction · 0.85
readyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected