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

Method get_max_connections

dlib/server/server_kernel.cpp:62–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60
61
62 int server::
63 get_max_connections (
64 ) const
65 {
66 max_connections_mutex.lock();
67 int temp = max_connections;
68 max_connections_mutex.unlock();
69 return temp;
70 }
71
72// ----------------------------------------------------------------------------------------
73

Callers

nothing calls this directly

Calls 2

lockMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected