Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
k_futex Struct Reference

futex structure More...

#include <kernel.h>

Data Fields

atomic_t val
 

Detailed Description

futex structure

A k_futex is a lightweight mutual exclusion primitive designed to minimize kernel involvement. Uncontended operation relies only on atomic access to shared memory. k_futex are tracked as kernel objects and can live in user memory so that any access bypasses the kernel object permission management mechanism.

Field Documentation

◆ val

atomic_t k_futex::val

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