Function pmem::drain
[−]
[src]
pub fn drain()
Waits for any pmem stores to drain from HW buffers
This is the second of two steps in flushing to persistence,
the first step is flush(1)
.
These steps are performed together when persist(1)
is called.
Note that either of these steps may be unnecessary on a given platform, and the library knows how to check for that and do the right thing. For example, on Intel platforms, pmem_drain() is an empty function.