Atomic.intSet

Sets the value of the integer pointed to by atomic. Also acts as a memory barrier. Since 2.10

class Atomic
static
void
intSet
(
int* atomic
,
int newval
)

Parameters

atomic int*

a pointer to an integer

newval int

the new value

Meta