Harlequin RIP SDK

Macros implementing atomic operations for multi-thread variable access. More...

#include "platform.h"
#include "hqtypes.h"
#include <signal.h>
#include <intrin.h>

Macros

#define HqAtomicAdd(ptr_, value_, after_)
 
#define HqAtomicMaximum(ptr_, value_, after_)
 
#define HqAtomicMinimum(ptr_, value_, after_)
 
#define HqAtomicAdd64(ptr_, value_, after_)
 
#define HqAtomicMaximum64(ptr_, value_, after_)
 
#define HqAtomicMinimum64(ptr_, value_, after_)
 
#define HQ_ATOMIC_SUPPORTED   1
 
#define HqAtomicIncrement(ptr_, before_)
 
#define HqAtomicDecrement(ptr_, after_)
 
#define HqAtomicCAS(ptr_, compareto_, swapfor_, swapped_)
 
#define HqAtomicIncrement64(ptr_, before_)
 
#define HqAtomicDecrement64(ptr_, after_)
 
#define HqAtomicCAS64(ptr_, compareto_, swapfor_, swapped_)
 
#define HqAtomicCASPointer(ptr_, compareto_, swapfor_, swapped_, type_)
 
#define HqAtomicAdd(ptr_, value_, after_)
 
#define HqAtomicAdd64(ptr_, value_, after_)
 

Typedefs

typedef long hq_atomic_counter_t
 
typedef __int64 hq_atomic_counter64_t
 

Detailed Description

Macros implementing atomic operations for multi-thread variable access.

Copyright (C) 2023 Global Graphics Software Ltd. All rights reserved. This source code contains the confidential and trade secret information of Global Graphics Software Ltd. It may not be used, copied or distributed for any reason except as set forth in the applicable Global Graphics license agreement.