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

Method stop_thread

lib_acl_cpp/src/redis/redis_client_pipeline.cpp:128–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128void redis_pipeline_channel::stop_thread()
129{
130 redis_pipeline_message *message = NEW
131 redis_pipeline_message(redis_pipeline_t_stop, NULL);
132 push(message);
133 this->wait(); // Call the base class thread::wait().
134 message->unrefer();
135}
136
137void redis_pipeline_channel::push(redis_pipeline_message* msg) const
138{

Callers 8

mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
stop_channelsMethod · 0.80
stop_channelMethod · 0.80
~redis_commandsMethod · 0.80
proc_on_exitMethod · 0.80

Calls 4

notifyFunction · 0.85
unreferMethod · 0.80
waitMethod · 0.45

Tested by

no test coverage detected