sessiond: Add msgpack-c 3.3.0 to the tree
[lttng-tools.git] / src / vendor / msgpack / gcc_atomic.h
CommitLineData
116a02e3
JG
1/*
2 * Distributed under the Boost Software License, Version 1.0.
3 * (See accompanying file LICENSE_1_0.txt or copy at
4 * http://www.boost.org/LICENSE_1_0.txt)
5 */
6
7#ifndef MSGPACK_GCC_ATOMIC_H
8#define MSGPACK_GCC_ATOMIC_H
9
10#if defined(__cplusplus)
11extern "C" {
12#endif
13
14typedef int _msgpack_atomic_counter_t;
15
16int _msgpack_sync_decr_and_fetch(volatile _msgpack_atomic_counter_t* ptr);
17int _msgpack_sync_incr_and_fetch(volatile _msgpack_atomic_counter_t* ptr);
18
19
20#if defined(__cplusplus)
21}
22#endif
23
24
25#endif // MSGPACK_GCC_ATOMIC_H
This page took 0.022624 seconds and 4 git commands to generate.