Epok Engine

PSYQO SDK

psyqo::Hardware::CPU::flushWriteQueue

Function · 1 overload

Function

Performs `flush write queue` as part of the hardware/cpu module.

Belongs to
psyqo::Hardware::CPU
Header
hardware/cpu.hh
Overloads
1

Declaration

static
Declaration
static inline void flushWriteQueue()

Performs `flush write queue` as part of the hardware/cpu module.

This overload takes no parameters.

Returns: Nothing (void).

Example

C++ example
#include "psyqo/hardware/cpu.hh"

psyqo::Hardware::CPU::flushWriteQueue();

Why use it

The asynchronous shape lets the frame loop continue while hardware or queued work completes.

Trade-offs and warnings

Captured data and buffers must remain valid until the callback or task has completed. This is classified as **PsyQo low-level API**. Prefer a higher-level Epok service unless you need this exact control.

Declared in https://github.com/pcsx-redux/nugget/blob/6186b131aacc5853a9161fb076ed34ffe504552d/psyqo/hardware/cpu.hh:62

Related members