MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / reset

Method reset

common/boost_spsc_queue.hpp:169–173  ·  view source on GitHub ↗

reset the ringbuffer * * \note Not thread-safe * */

Source from the content-addressed store, hash-verified

167 * \note Not thread-safe
168 * */
169 void reset(void)
170 {
171 write_index_.store(0, std::memory_order_relaxed);
172 read_index_.store(0, std::memory_order_release);
173 }
174
175 /** Check if the ringbuffer is empty
176 *

Callers 7

ReadFileInZipToContainerFunction · 0.45
RunMethod · 0.45
CancelMethod · 0.45
SetFileOutputLevelMethod · 0.45
CopyFilePathMethod · 0.45
SaveToFileMethod · 0.45
SaveToBufferMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected