atomic_int64_inc


Description:

[ CCode ( cname = "gpseq_atomic_int64_inc" ) ]
public void atomic_int64_inc (ref int64 atomic)

Increments the value of atomic by 1.

Think of this operation as an atomic version of:

  { *atomic += 1; }

This call acts as a full compiler and hardware memory barrier.

Parameters:

atomic

a pointer to a int64 or uint64


Namespace: Gpseq
Package: gpseq-1.0