MCPcopy Create free account
hub / github.com/LaurieWired/tailslayer / dummy_final_work

Function dummy_final_work

tailslayer_example.cpp:40–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38
39template <typename T>
40[[gnu::always_inline]] inline void dummy_final_work(T val) {
41 // UPDATE HERE - final work
42 // This is the function that will be executed with the value as soon as the signal function finishes
43 asm volatile("" :: "r"(val)); // Dummy using value
44 std::cout << "Val: " << val << "\n";
45}
46
47int main() {
48 using target_size_t = uint8_t;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected