MCPcopy Create free account
hub / github.com/ModelEngine-Group/flexai / CTRLC

Function CTRLC

GPU-Virtual-Service/gpu-remoting/src/server/serverApp.cc:15–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13volatile bool isClosed = false;
14
15void CTRLC(int s) {
16 tool::Logging(LOG_INFO, myName, "terminate the server with ctrl+c interrupt\n");
17 __sync_add_and_fetch_8(&isClosed, 1);
18}
19
20void cleanup() {
21 // for (auto it : thList) {

Callers

nothing calls this directly

Calls 1

LoggingFunction · 0.85

Tested by

no test coverage detected