MCPcopy Create free account
hub / github.com/anthonywilliams/ccia_code_samples / task

Function task

listings/listing_8.6.cpp:18–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18void task()
19{
20 while(!task_complete() && !task_cancelled)
21 {
22 do_next_operation();
23 }
24 if(task_cancelled)
25 {
26 perform_cleanup();
27 }
28 else
29 {
30 post_gui_event(task_complete);
31 }
32}
33
34void process(event_data const& event)
35{

Callers 5

worker_threadMethod · 0.85
run_pending_taskMethod · 0.85
run_pending_taskMethod · 0.85
gui_threadFunction · 0.85
run_pending_taskMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected