MCPcopy Create free account
hub / github.com/cinemast/libjson-rpc-cpp / Stop

Method Stop

src/test/testredisserver.cpp:55–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55bool TestRedisServer::Stop() {
56 if (pid != 0) {
57 kill(pid, 9);
58 pid = 0;
59 return true;
60 }
61 return false;
62}
63
64bool TestRedisServer::WaitProcess(int pipefd[2]) {
65 close(pipefd[1]);

Callers 4

~TestRedisServerMethod · 0.95
StartMethod · 0.95
~FMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected