MCPcopy Create free account
hub / github.com/apache/qpid-proton / schedule

Method schedule

cpp/src/proactor_container_impl.cpp:72–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70};
71
72void container::impl::common_work_queue::schedule(duration d, work f) {
73 // Note this is an unbounded work queue.
74 // A resource-safe implementation should be bounded.
75 if (finished_) return;
76 container_.schedule(d, make_work(&work_queue::impl::add_void, (work_queue::impl*)this, f));
77}
78
79void container::impl::common_work_queue::run_all_jobs() {
80 jobs j;

Callers

nothing calls this directly

Calls 7

make_workFunction · 0.85
nowFunction · 0.50
pn_proactor_set_timeoutFunction · 0.50
beginMethod · 0.45
endMethod · 0.45
millisecondsMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected