GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::atomic_signal_fence(3) C++ Standard Libary std::atomic_signal_fence(3)

std::atomic_signal_fence - std::atomic_signal_fence


Defined in header <atomic>
extern "C" void atomic_signal_fence( std::memory_order order ) (since C++11)
noexcept;


Establishes memory synchronization ordering of non-atomic and relaxed atomic
accesses, as instructed by order, between a thread and a signal handler executed on
the same thread. This is equivalent to std::atomic_thread_fence, except no CPU
instructions for memory ordering are issued. Only reordering of the instructions by
the compiler is suppressed as order instructs. For example, a fence with release
semantics prevents reads or writes from being moved past subsequent writes and a
fence with acquire semantics prevents reads or writes from being moved ahead of
preceding reads.


order - the memory ordering executed by this fence


(none)


This section is incomplete
Reason: no example


memory_order defines memory ordering constraints for the given atomic
(C++11) operation
(enum)
atomic_thread_fence generic memory order-dependent fence synchronization primitive
(C++11) (function)

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.