18#ifndef _DECAF_INTERNAL_UTIL_CONCURRENT_ATOMICS_H_
19#define _DECAF_INTERNAL_UTIL_CONCURRENT_ATOMICS_H_
34 Atomics(
const Atomics&);
35 Atomics& operator= (
const Atomics&);
48 static bool compareAndSet(
volatile void** target,
void* expect,
void* update);
50 static void*
getAndSet(
volatile void** target,
void* value);
51 static int getAndSet(
volatile int* target,
int value);
56 static int getAndAdd(
volatile int* target,
int delta);
57 static int addAndGet(
volatile int* target,
int delta);
64 static void initialize();
65 static void shutdown();
static bool compareAndSet32(volatile int *target, int expect, int update)
static int addAndGet(volatile int *target, int delta)
static bool compareAndSet(volatile void **target, void *expect, void *update)
static int getAndAdd(volatile int *target, int delta)
static int getAndDecrement(volatile int *target)
static void * getAndSet(volatile void **target, void *value)
static bool compareAndSwap(T *&target, T *expect, T *update)
Definition Atomics.h:40
static int incrementAndGet(volatile int *target)
static int getAndSet(volatile int *target, int value)
static int getAndIncrement(volatile int *target)
static int decrementAndGet(volatile int *target)
friend class Threading
Definition Atomics.h:67
Definition Threading.h:36
#define DECAF_API
Definition Config.h:29
Definition ByteArrayAdapter.h:30
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition AprPool.h:25