src/server/ucx/atomic.c

Sun, 30 Dec 2012 15:49:44 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 30 Dec 2012 15:49:44 +0100
changeset 39
de4bc3cd2d36
parent 36
450d2d5f4735
permissions
-rw-r--r--

added mime type configuration file

/*
 * 
 */

#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);
}

mercurial