libcopp  2.2.0
Data Structures | Namespaces | Macros | Enumerations
atomic_int_type.h File Reference

atomic wrapper fo integers Licensed under the MIT licenses. More...

#include <libcopp/utils/config/libcopp_build_features.h>
#include <libcopp/utils/features.h>
#include <libcopp/utils/std/explicit_declare.h>
#include <libcopp/utils/config/stl_include_prefix.h>
#include <limits.h>
#include <stdint.h>
#include <cstddef>
#include <libcopp/utils/config/stl_include_suffix.h>
Include dependency graph for atomic_int_type.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  util::lock::atomic_int_type< Ty >
 
struct  util::lock::unsafe_int_type< Ty >
 
class  util::lock::atomic_int_type< unsafe_int_type< Ty > >
 

Namespaces

 util
 
 util::lock
 

Macros

#define _UNDEF__STDC_LIMIT_MACROS
 
#define __STDC_LIMIT_MACROS
 
#define _UNDEF__STDC_CONSTANT_MACROS
 
#define __STDC_CONSTANT_MACROS
 
#define LIBCOPP_UTIL_LOCK_ATOMIC_THREAD_FENCE(x)
 
#define LIBCOPP_UTIL_LOCK_ATOMIC_SIGNAL_FENCE(x)
 

Enumerations

enum  util::lock::memory_order {
  util::lock::memory_order_relaxed = 0 , util::lock::memory_order_consume , util::lock::memory_order_acquire , util::lock::memory_order_release ,
  util::lock::memory_order_acq_rel , util::lock::memory_order_seq_cst
}
 

Detailed Description

atomic wrapper fo integers Licensed under the MIT licenses.

Version
1.0
Author
OWenT
Date
2016-06-14

@history 2016-06-14 Created 2021-07-19 Remove supporting of old compilers.

Definition in file atomic_int_type.h.

Macro Definition Documentation

◆ __STDC_CONSTANT_MACROS

#define __STDC_CONSTANT_MACROS

Definition at line 32 of file atomic_int_type.h.

◆ __STDC_LIMIT_MACROS

#define __STDC_LIMIT_MACROS

Definition at line 28 of file atomic_int_type.h.

◆ _UNDEF__STDC_CONSTANT_MACROS

#define _UNDEF__STDC_CONSTANT_MACROS

Definition at line 31 of file atomic_int_type.h.

◆ _UNDEF__STDC_LIMIT_MACROS

#define _UNDEF__STDC_LIMIT_MACROS

Definition at line 27 of file atomic_int_type.h.

◆ LIBCOPP_UTIL_LOCK_ATOMIC_SIGNAL_FENCE

#define LIBCOPP_UTIL_LOCK_ATOMIC_SIGNAL_FENCE (   x)

Definition at line 341 of file atomic_int_type.h.

◆ LIBCOPP_UTIL_LOCK_ATOMIC_THREAD_FENCE

#define LIBCOPP_UTIL_LOCK_ATOMIC_THREAD_FENCE (   x)

Definition at line 337 of file atomic_int_type.h.