MCPcopy Create free account
hub / github.com/chromium/crashpad / SendSIGCONT

Function SendSIGCONT

handler/linux/exception_handler_server.cc:129–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129void SendSIGCONT(pid_t pid, pid_t tid) {
130 if (tid > 0) {
131 if (tgkill(pid, tid, ExceptionHandlerProtocol::kDumpDoneSignal) != 0) {
132 PLOG(ERROR) << "tgkill";
133 }
134 return;
135 }
136
137 std::vector<pid_t> threads;
138 if (!ReadThreadIDs(pid, &threads)) {
139 return;
140 }
141 for (const auto& thread : threads) {
142 if (tgkill(pid, thread, ExceptionHandlerProtocol::kDumpDoneSignal) != 0) {
143 PLOG(ERROR) << "tgkill";
144 }
145 }
146}
147
148bool SendCredentials(int client_sock) {
149 ExceptionHandlerProtocol::ServerToClientMessage message = {};

Callers 1

Calls 2

tgkillFunction · 0.85
ReadThreadIDsFunction · 0.85

Tested by

no test coverage detected