MCPcopy Create free account
hub / github.com/apache/thrift / fsync

Method fsync

lib/cpp/test/TFileTransportTest.cpp:69–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67 FsyncLog() = default;
68
69 void fsync(int fd) {
70 FsyncCall call;
71 call.fd = fd;
72 THRIFT_GETTIMEOFDAY(&call.time, nullptr);
73 calls_.push_back(call);
74 }
75
76 const CallList* getCalls() const { return &calls_; }
77

Callers 2

fsyncFunction · 0.80
test_flush_max_us_implFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected