MCPcopy Create free account
hub / github.com/acl-dev/acl / push

Method push

lib_acl_cpp/src/redis/redis_client_pipeline.cpp:65–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65void redis_pipeline_message::push(const redis_result* result) {
66 // One reference for the message itself, and the other one was added
67 // in redis_client_pipeline::exec().
68
69 result_ = result;
70 box_->push(this, false);
71
72 // Just decrease the reference added in redis_client_pipeline::exec().
73 unrefer();
74}
75
76const redis_result* redis_pipeline_message::wait() const {
77 box_->pop(-1, NULL);

Callers 5

handle_resultMethod · 0.45
wait_resultsMethod · 0.45
all_failedMethod · 0.45
runMethod · 0.45
notifyMethod · 0.45

Calls 2

referMethod · 0.80
unreferFunction · 0.50

Tested by

no test coverage detected