Mon, 31 Dec 2012 00:07:52 +0100
removed NSPR
/* * */ #include <atomic.h> #include "atomic.h" void ucx_atomic_inc_8(volatile uint8_t *t) { atomic_inc_8(t); } void ucx_atomic_inc_16(volatile uint16_t *t) { atomic_inc_16(t); } void ucx_atomic_inc_32(volatile uint32_t *t) { atomic_inc_32(t); } void ucx_atomic_inc_64(volatile uint64_t *t) { atomic_inc_64(t); } void ucx_atomic_dec_8(volatile uint8_t *t) { atomic_dec_8(t); } void ucx_atomic_dec_16(volatile uint16_t *t) { atomic_dec_16(t); } void ucx_atomic_dec_32(volatile uint32_t *t) { atomic_dec_32(t); } void ucx_atomic_dec_64(volatile uint64_t *t) { atomic_dec_64(t); } uint8_t ucx_atomic_dec_8_nv(volatile uint8_t *t) { return atomic_dec_8_nv(t); } uint16_t ucx_atomic_dec_16_nv(volatile uint16_t *t) { return atomic_dec_16_nv(t); } uint32_t ucx_atomic_dec_32_nv(volatile uint32_t *t) { return atomic_dec_32_nv(t); } uint64_t ucx_atomic_dec_64_nv(volatile uint64_t *t) { return atomic_dec_64_nv(t); }