Zephyr Project API 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
sys_ref Struct Reference

Reference of an object. More...

#include <ref.h>

Data Fields

struct sys_refcount refcount
 Reference counter.

Detailed Description

Reference of an object.

Embed this in an object whose lifetime is shared between several users. The object is released through the handler passed to sys_ref_put() once the last reference is dropped.

Field Documentation

◆ refcount

struct sys_refcount sys_ref::refcount

Reference counter.


The documentation for this struct was generated from the following file:
  • include/zephyr/sys/ref.h