src/server/ucx/atomic.c

Sat, 18 Aug 2012 11:39:34 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sat, 18 Aug 2012 11:39:34 +0200
changeset 35
4417619a9bbd
parent 33
96dbfe4f91e5
child 36
450d2d5f4735
permissions
-rw-r--r--

using non blocking IO for request input

/*
 * 
 */

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

mercurial