MCPcopy Create free account
hub / github.com/apache/impala / ~AuthenticationHashFromFile

Method ~AuthenticationHashFromFile

be/src/util/openssl-util.cc:278–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

276}
277
278AuthenticationHashFromFile::~AuthenticationHashFromFile() {
279 // Signal the reload thread to stop.
280 if (stop_pipe_write_fd_ >= 0) {
281 write(stop_pipe_write_fd_, "x", 1); // Write a byte to signal shutdown.
282 close(stop_pipe_write_fd_);
283 }
284 if (reload_thread_.joinable()) {
285 reload_thread_.join();
286 }
287}
288
289Status AuthenticationHashFromFile::Init() {
290 RETURN_IF_ERROR(LoadKey());

Callers

nothing calls this directly

Calls 2

writeFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected