Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
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: