All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
atomic_win32.h File Reference
#include <windows.h>

Go to the source code of this file.


#define avpriv_atomic_int_get   atomic_int_get_win32
#define avpriv_atomic_int_set   atomic_int_set_win32
#define avpriv_atomic_int_add_and_fetch   atomic_int_add_and_fetch_win32
#define avpriv_atomic_ptr_cas   atomic_ptr_cas_win32


static int atomic_int_get_win32 (volatile int *ptr)
static void atomic_int_set_win32 (volatile int *ptr, int val)
static int atomic_int_add_and_fetch_win32 (volatile int *ptr, int inc)
static voidatomic_ptr_cas_win32 (void *volatile *ptr, void *oldval, void *newval)

Macro Definition Documentation

#define avpriv_atomic_int_get   atomic_int_get_win32

Definition at line 26 of file atomic_win32.h.

#define avpriv_atomic_int_set   atomic_int_set_win32

Definition at line 33 of file atomic_win32.h.

#define avpriv_atomic_int_add_and_fetch   atomic_int_add_and_fetch_win32

Definition at line 40 of file atomic_win32.h.

#define avpriv_atomic_ptr_cas   atomic_ptr_cas_win32

Definition at line 46 of file atomic_win32.h.

Function Documentation

static int atomic_int_get_win32 ( volatile int *  ptr)

Definition at line 27 of file atomic_win32.h.

static void atomic_int_set_win32 ( volatile int *  ptr,
int  val 

Definition at line 34 of file atomic_win32.h.

static int atomic_int_add_and_fetch_win32 ( volatile int *  ptr,
int  inc 

Definition at line 41 of file atomic_win32.h.

static void* atomic_ptr_cas_win32 ( void *volatile *  ptr,
void oldval,
void newval 

Definition at line 47 of file atomic_win32.h.