CNDP  22.08.0
cne_timer_status Union Reference

#include <cne_timer.h>

Public Member Functions

 CNE_ATOMIC (uint_least32_t) u32
 

Detailed Description

Timer status: A union of the state (stopped, pending, running, config) and an owner (the id of the thread that owns the timer).

Definition at line 58 of file cne_timer.h.

Member Function Documentation

◆ CNE_ATOMIC()

CNE_ATOMIC ( uint_least32_t  )

To atomic-set status + owner.

Field Documentation

◆ state

uint16_t state

Stop, pending, running, config.

Definition at line 61 of file cne_timer.h.

◆ owner

int16_t owner

The thread that owns the timer.

Definition at line 62 of file cne_timer.h.


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