SDL_CACHELINE_SIZE(3)

SDL_CACHELINE_SIZE3

A guess for the cacheline size used for padding.

Usage

#include "SDL3/SDL.h"

#define SDL_CACHELINE_SIZE 128

Header file

Defined in SDL3/SDL_cpuinfo.h

Overview

Most x86 processors have a 64 byte cache line. The 64-bit PowerPC processors have a 128 byte cache line. We use the larger value to be generally safe.

Availability

This macro is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.