Skip to content
Snippets Groups Projects
Commit b912714a authored by Tristan Matthews's avatar Tristan Matthews
Browse files

video: do threading via composition not inheritance

Rationale: it's easier to reason about the thread lifecycle. The new
ThreadLoop class has the same API as the old SFLThread class, but wraps
an std::thread instead of a pthread, exits on exceptional errors via an
exception and calls its owner's methods via function handles (setup,
process and cleanup)

Refs #47343

Change-Id: Ie1eec81ec53cdc5bb6f00a89a916c5c8f9abeb4f
parent fbc862ee
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment