atomic64_add

Atomically adds a 64-bit value to the specified memory location.

Library:LibC
Classification:Other
Service:General C Services

Syntax

  #include <stdlib.h> 
   
  void atomic64_add (
     uint64_t   *addr,
     uint64_t    value);
  

Parameters

addr

(IN) Points to the memory location for the operation.

value

(IN) Specifies the value to add to the memory location.

Remarks

The memory location address is expected to be valid. If an invalid address is passed, the server will abend.

See Also