MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / flush

Method flush

src/jrd/replication/ChangeLog.cpp:290–300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288}
289
290void ChangeLog::Segment::flush(bool data)
291{
292 if (data)
293 flushFile(m_handle);
294
295#ifdef WIN_NT
296 FlushViewOfFile(m_header, 0);
297#else
298 msync(m_header, sizeof(SegmentHeader), MS_SYNC);
299#endif
300}
301
302void ChangeLog::Segment::mapHeader()
303{

Callers 1

writeMethod · 0.45

Calls 1

flushFileFunction · 0.85

Tested by

no test coverage detected