oro_msvc/oro_arch.h File Reference

#include <windows.h>
#include <intrin.h>
Include dependency graph for oro_msvc/oro_arch.h:

Go to the source code of this file.

Defines

#define ORO_ATOMIC_SETUP   oro_atomic_set
#define ORO_ATOMIC_CLEANUP(a_int)
#define oro_atomic_read(a_int)   (*(a_int))
#define oro_atomic_set(a_int, n)   (*(a_int) = (n))

Typedefs

typedef volatile long oro_atomic_t

Functions

template<typename T >
oro_cmpxchg (volatile void *ptr, T old, T _new)

Define Documentation

#define ORO_ATOMIC_CLEANUP ( a_int   ) 

Definition at line 12 of file oro_msvc/oro_arch.h.

#define oro_atomic_read ( a_int   )     (*(a_int))

Definition at line 14 of file oro_msvc/oro_arch.h.

#define oro_atomic_set ( a_int,
 )     (*(a_int) = (n))

Definition at line 16 of file oro_msvc/oro_arch.h.

#define ORO_ATOMIC_SETUP   oro_atomic_set

Definition at line 11 of file oro_msvc/oro_arch.h.


Typedef Documentation

typedef volatile long oro_atomic_t

Definition at line 9 of file oro_msvc/oro_arch.h.


Function Documentation

T oro_cmpxchg ( volatile void *  ptr,
old,
_new 
) [inline]

Definition at line 91 of file oro_msvc/oro_arch.h.

Generated by  doxygen 1.6.3