Wiki Page Content

Revision 7 as of 2010-09-03 04:03:42

Clear message

DRAFT

Atomic Operations for 32 and 64 Bit Values

Include File(s): SDL_atomic.h

Introduction

This category contains functions for handling atomic operations in both 32-bit and 64-bit platforms.

These operations may, or may not, actually be implemented using processor specific atomic operations. When possible they are implemented as true processor specific atomic operations. When that is not possible they are implemented using locks that *do* use the available atomic operations. green

At the very minimum spin locks must be implemented. Without spin locks it is not possible (AFAICT) to emulate the rest of the atomic operations.

Functions


CategoryCategory

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit