diff -r 280250e45ba6 -r 96dbfe4f91e5 src/server/ucx/atomic.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/server/ucx/atomic.h Thu Aug 09 10:55:40 2012 +0200 @@ -0,0 +1,31 @@ +/* + * File: atomic.h + * Author: olaf + * + * Created on 29. Mai 2012, 09:38 + */ + +#ifndef ATOMIC_H +#define ATOMIC_H + +#include + +#ifdef __cplusplus +extern "C" { +#endif + +void ucx_atomic_inc_8(volatile uint8_t *t); + +void ucx_atomic_inc_16(volatile uint16_t *t); + +void ucx_atomic_inc_32(volatile uint32_t *t); + +void ucx_atomic_inc_64(volatile uint64_t *t); + + +#ifdef __cplusplus +} +#endif + +#endif /* ATOMIC_H */ +