medfall

A super great game engine
Log | Files | Refs

commit 47af84a1539d9bad52b4c60eb78b0cd3efbd52e2
parent f6ec6ba93dbfd60b31fb70a40e9bd3c5961fb8e6
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sun,  5 Nov 2017 22:24:43 +0200

Make FixedSPSC/FixedMPSC cache aligned

Diffstat:
mpsc.h | 2+-
spsc.h | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/mpsc.h b/mpsc.h @@ -7,7 +7,7 @@ #include "platform_thread.h" template< typename T, u32 N > -class FixedMPSC { +class ALIGNTO_CACHE FixedMPSC { public: NONCOPYABLE( FixedMPSC ); diff --git a/spsc.h b/spsc.h @@ -7,7 +7,7 @@ #include "platform_thread.h" template< typename T, size_t N > -class FixedSPSC { +class ALIGNTO_CACHE FixedSPSC { public: NONCOPYABLE( FixedSPSC );