forked from OSchip/llvm-project
Docs: dampen story time for atomics
Story time was nice a few years ago, but by now it's nice to state how things are, rather than explain the diff from ye olden atomic history. These were dark times. llvm-svn: 265369
This commit is contained in:
parent
1c3c223b65
commit
86d8d87640
|
@ -8,17 +8,13 @@ LLVM Atomic Instructions and Concurrency Guide
|
|||
Introduction
|
||||
============
|
||||
|
||||
Historically, LLVM has not had very strong support for concurrency; some minimal
|
||||
intrinsics were provided, and ``volatile`` was used in some cases to achieve
|
||||
rough semantics in the presence of concurrency. However, this is changing;
|
||||
there are now new instructions which are well-defined in the presence of threads
|
||||
and asynchronous signals, and the model for existing instructions has been
|
||||
clarified in the IR.
|
||||
LLVM supports instructions which are well-defined in the presence of threads and
|
||||
asynchronous signals.
|
||||
|
||||
The atomic instructions are designed specifically to provide readable IR and
|
||||
optimized code generation for the following:
|
||||
|
||||
* The new C++11 ``<atomic>`` header. (`C++11 draft available here
|
||||
* The C++11 ``<atomic>`` header. (`C++11 draft available here
|
||||
<http://www.open-std.org/jtc1/sc22/wg21/>`_.) (`C11 draft available here
|
||||
<http://www.open-std.org/jtc1/sc22/wg14/>`_.)
|
||||
|
||||
|
|
Loading…
Reference in New Issue