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

Method sdo_called

dlib/sockets/sockets_kernel_2.h:237–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235 }
236
237 bool sdo_called (
238 )const
239 /*!
240 ensures
241 - returns true if shutdown_outgoing() or shutdown() has been called
242 else returns false
243 !*/
244 {
245 sd_mutex.lock();
246 bool temp = false;
247 if (sdo || sd)
248 temp = true;
249 sd_mutex.unlock();
250 return temp;
251 }
252
253
254 struct inet_info {

Callers

nothing calls this directly

Calls 2

lockMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected