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

Method FileDescriptor

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

Source from the content-addressed store, hash-verified

1010//
1011
1012FileDescriptor::FileDescriptor(FileDescriptor&& other) : fd_(other.fd_.exchange(-1)) {}
1013
1014FileDescriptor& FileDescriptor::operator=(FileDescriptor&& other) {
1015 int old_fd = fd_.exchange(other.fd_.exchange(-1));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected