Giter Club home page Giter Club logo

stdatomic.h's Introduction

stdatomic.h

C11 <stdatomic.h> shim for MSVC.

Status

Keyword

  • _Atomic

Types

  • memory_order
    • memory_order_relaxed
    • memory_order_consume
    • memory_order_acquire
    • memory_order_release
    • memory_order_acq_rel
    • memory_order_seq_cst
  • atomic_flag

Macros

  • ATOMIC_BOOL_LOCK_FREE

  • ATOMIC_CHAR_LOCK_FREE

  • ATOMIC_CHAR16_T_LOCK_FREE

  • ATOMIC_CHAR32_T_LOCK_FREE

  • ATOMIC_WCHAR_T_LOCK_FREE

  • ATOMIC_SHORT_LOCK_FREE

  • ATOMIC_INT_LOCK_FREE

  • ATOMIC_LONG_LOCK_FREE

  • ATOMIC_LLONG_LOCK_FREE

  • ATOMIC_POINTER_LOCK_FREE

  • ATOMIC_FLAG_INIT

  • ATOMIC_VAR_INIT

  • kill_dependency

Functions

  • atomic_init
  • atomic_thread_fence
  • atomic_signal_fence
  • atomic_is_lock_free
  • atomic_store
  • atomic_store_explicit
  • atomic_load
  • atomic_load_explicit
  • atomic_exchange
  • atomic_exchange_explicit
  • atomic_compare_exchange_strong
  • atomic_compare_exchange_strong_explicit
  • atomic_compare_exchange_weak
  • atomic_compare_exchange_weak_explicit
  • atomic_fetch_add
  • atomic_fetch_add_explicit
  • atomic_fetch_sub
  • atomic_fetch_sub_explicit
  • atomic_fetch_or
  • atomic_fetch_or_explicit
  • atomic_fetch_xor
  • atomic_fetch_xor_explicit
  • atomic_fetch_and
  • atomic_fetch_and_explicit
  • atomic_flag_test_and_set
  • atomic_flag_test_and_set_explicit
  • atomic_flag_clear
  • atomic_flag_clear_explicit

Atomic Types

  • atomic_bool
  • atomic_char
  • atomic_schar
  • atomic_uchar
  • atomic_short
  • atomic_ushort
  • atomic_int
  • atomic_uint
  • atomic_long
  • atomic_ulong
  • atomic_llong
  • atomic_ullong
  • atomic_char16_t
  • atomic_char32_t
  • atomic_wchar_t
  • atomic_int_least8_t
  • atomic_uint_least8_t
  • atomic_int_least16_t
  • atomic_uint_least16_t
  • atomic_int_least32_t
  • atomic_uint_least32_t
  • atomic_int_least64_t
  • atomic_uint_least64_t
  • atomic_int_fast8_t
  • atomic_uint_fast8_t
  • atomic_int_fast16_t
  • atomic_uint_fast16_t
  • atomic_int_fast32_t
  • atomic_uint_fast32_t
  • atomic_int_fast64_t
  • atomic_uint_fast64_t
  • atomic_intptr_t
  • atomic_uintptr_t
  • atomic_size_t
  • atomic_ptrdiff_t
  • atomic_intmax_t
  • atomic_uintmax_t

Limitations

Currently all operations are performed as memory_order_seq_cst.

License

BSD 2-clause license, see LICENSE for more details.

stdatomic.h's People

Contributors

szanni avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.