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

Method sd_called

dlib/sockets/sockets_kernel_2.h:223–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221 !*/
222
223 bool sd_called (
224 )const
225 /*!
226 ensures
227 - returns true if shutdown() has been called else
228 - returns false
229 !*/
230 {
231 sd_mutex.lock();
232 bool temp = sd;
233 sd_mutex.unlock();
234 return temp;
235 }
236
237 bool sdo_called (
238 )const

Callers

nothing calls this directly

Calls 2

lockMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected