src/server/ucx/atomic.h

changeset 33
96dbfe4f91e5
child 36
450d2d5f4735
equal deleted inserted replaced
31:280250e45ba6 33:96dbfe4f91e5
1 /*
2 * File: atomic.h
3 * Author: olaf
4 *
5 * Created on 29. Mai 2012, 09:38
6 */
7
8 #ifndef ATOMIC_H
9 #define ATOMIC_H
10
11 #include <inttypes.h>
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16
17 void ucx_atomic_inc_8(volatile uint8_t *t);
18
19 void ucx_atomic_inc_16(volatile uint16_t *t);
20
21 void ucx_atomic_inc_32(volatile uint32_t *t);
22
23 void ucx_atomic_inc_64(volatile uint64_t *t);
24
25
26 #ifdef __cplusplus
27 }
28 #endif
29
30 #endif /* ATOMIC_H */
31

mercurial