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

Method remove

lib_acl_cpp/src/master/master_udp.cpp:112–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112void master_udp::remove(socket_stream* ss)
113{
114 thread_mutex_guard guard(lock_);
115
116 for (std::vector<socket_stream*>::iterator it = sstreams_.begin();
117 it != sstreams_.end(); ++it) {
118
119 if (*it == ss) {
120 sstreams_.erase(it);
121 return;
122 }
123 }
124
125 logger_error("not found ss=%p", ss);
126}
127
128void master_udp::lock()
129{

Callers 1

service_on_unbindMethod · 0.45

Calls 2

beginMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected