MCPcopy Create free account
hub / github.com/ByConity/ByConity / set

Method set

src/Server/GRPCServer.cpp:517–524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

515 }
516
517 void set(bool new_value)
518 {
519 std::lock_guard lock{mutex};
520 if (value == new_value)
521 return;
522 value = new_value;
523 changed.notify_all();
524 }
525
526 void wait(bool wanted_value) const
527 {

Callers 11

readQueryInfoMethod · 0.45
sendResultMethod · 0.45
handleRequestMethod · 0.45
authenticateUserMethod · 0.45
handleRequestMethod · 0.45
trySendExceptionToClientFunction · 0.45
updateStatsMethod · 0.45
resetStatsMethod · 0.45
startSendHeadersMethod · 0.45
runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected