MCPcopy Create free account
hub / github.com/apache/arrow / ~FileDescriptor

Method ~FileDescriptor

cpp/src/arrow/util/io_util.cc:1026–1031  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1024}
1025
1026FileDescriptor::~FileDescriptor() {
1027 int fd = fd_.load();
1028 if (fd != -1) {
1029 CloseFromDestructor(fd);
1030 }
1031}
1032
1033Status FileDescriptor::Close() {
1034 int fd = fd_.exchange(-1);

Callers

nothing calls this directly

Calls 2

CloseFromDestructorFunction · 0.85
loadMethod · 0.45

Tested by

no test coverage detected