MCPcopy Create free account
hub / github.com/davisking/dlib / sd_called

Method sd_called

dlib/sockets/sockets_kernel_1.h:180–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178 !*/
179
180 bool sd_called (
181 )const
182 /*!
183 ensures
184 - returns true if shutdown() has been called else
185 returns false
186 !*/
187 {
188 sd_mutex.lock();
189 bool temp = sd;
190 sd_mutex.unlock();
191 return temp;
192 }
193
194 bool sdo_called (
195 )const

Callers

nothing calls this directly

Calls 2

lockMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected