bt_mesh_atomic_set() function
Atomic get-and-set primitive This routine provides the atomic set operator. The is atomically written at and the previous value at is returned.
Arguments
target
the memory location to write to
Return value
The previous value from
bt_mesh_atomic_set() is called by 5 functions and calls 2 functions:
![]()
bt_mesh_atomic_set()
bt_mesh_atomic_set():
![]()
bt_mesh_atomic_set()