Zephyr API Documentation  3.5.0
A Scalable Open Source RTOS
3.5.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
k_spinlock Struct Reference

Kernel Spin Lock. More...

#include <spinlock.h>

Data Fields

atomic_t locked
 

Detailed Description

Kernel Spin Lock.

This struct defines a spin lock record on which CPUs can wait with k_spin_lock(). Any number of spinlocks may be defined in application code.

Field Documentation

◆ locked

atomic_t k_spinlock::locked

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