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

Method add

cpp/src/work_queue.cpp:40–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38work_queue& work_queue::operator=(impl* i) { impl_.reset(i); return *this; }
39
40bool work_queue::add(internal::v03::work f) {
41 // If we have no actual work queue, then can't defer
42 if (!impl_) return false;
43 return impl_->add(f);
44}
45
46bool work_queue::add(internal::v11::work f) {
47 // If we have no actual work queue, then can't defer

Callers 2

notify_idleMethod · 0.45
initiate_closeMethod · 0.45

Calls 1

make_workFunction · 0.85

Tested by 2

notify_idleMethod · 0.36
initiate_closeMethod · 0.36