MCPcopy Create free account
hub / github.com/Amanieu/asyncplusplus / callback

Method callback

examples/gtk_scheduler.cpp:30–34  ·  view source on GitHub ↗

Get the task from the void* and execute it in the UI thread

Source from the content-addressed store, hash-verified

28class gtk_scheduler_impl {
29 // Get the task from the void* and execute it in the UI thread
30 static gboolean callback(void* p)
31 {
32 async::task_run_handle::from_void_ptr(p).run();
33 return FALSE;
34 }
35
36public:
37 // Convert a task to void* and send it to the gtk main loop

Callers

nothing calls this directly

Calls 1

runMethod · 0.45

Tested by

no test coverage detected