MCPcopy Create free account
hub / github.com/OpenVPN/openvpn3 / pause

Method pause

client/ovpncli.cpp:1292–1300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1290 }
1291
1292 OPENVPN_CLIENT_EXPORT void OpenVPNClient::pause(const std::string& reason)
1293 {
1294 if (state->is_foreign_thread_access())
1295 {
1296 ClientConnect* session = state->session.get();
1297 if (session)
1298 session->thread_safe_pause(reason);
1299 }
1300 }
1301
1302 OPENVPN_CLIENT_EXPORT void OpenVPNClient::resume()
1303 {

Callers 2

start_threadFunction · 0.45
handlerFunction · 0.45

Calls 3

thread_safe_pauseMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected