Halide::Runtime::Internal::ScopedSpinLock Struct Reference

#include <scoped_spin_lock.h>

Public Types

typedef char AtomicFlag

Public Member Functions

ALWAYS_INLINE ScopedSpinLock (volatile AtomicFlag *flag)
ALWAYS_INLINE ~ScopedSpinLock ()

Public Attributes

volatile AtomicFlag *const flag

Detailed Description

Definition at line 9 of file scoped_spin_lock.h.

Member Typedef Documentation

◆ AtomicFlag

Constructor & Destructor Documentation

◆ ScopedSpinLock()

ALWAYS_INLINE Halide::Runtime::Internal::ScopedSpinLock::ScopedSpinLock ( volatile AtomicFlag flag)

Definition at line 15 of file scoped_spin_lock.h.

References flag.

◆ ~ScopedSpinLock()

ALWAYS_INLINE Halide::Runtime::Internal::ScopedSpinLock::~ScopedSpinLock ( )

Definition at line 22 of file scoped_spin_lock.h.

References flag.

Member Data Documentation

◆ flag

volatile AtomicFlag* const Halide::Runtime::Internal::ScopedSpinLock::flag

Definition at line 13 of file scoped_spin_lock.h.

Referenced by ScopedSpinLock(), and ~ScopedSpinLock().

The documentation for this struct was generated from the following file: