bt_mesh_atomic_inc() function
Atomic increment primitive This routine provides the atomic increment operator. The value at is atomically incremented by 1, and the old value from is returned.
Arguments
target
memory location to increment
Return value
The value from before the increment
![]()
return bt_mesh_atomic_inc(target);
bt_mesh_atomic_inc() is called by 2 functions and calls 2 functions:
![]()
bt_mesh_atomic_inc()