XSSpinLock Reference

File
XSFoundation/include/XS/Types/XSSpinLock.h
Author
Jean-David Gadina - www.xs-labs.com
Copyright
© (c) 2020 - Jean-David Gadina - www.xs-labs.com
Date
Sunday, September 27, 2020
Includes

Overview

XSSpinLock type definition

Types

XSSpinLock

Spin lock type

typedef volatile int32_t XSSpinLock;

Discussion

XSSpinLock is an integral type. The convention is that unlocked is zero, and locked is nonzero.