View source code
							
							
						
								Display the source code in core/stdc/stdatomic.d from which this
								page was generated on github.
							
						
							Report a bug
							
						
								If you spot a problem with this page, click here to create a
								Bugzilla issue.
							
						
							
								Improve this page
							
							
					
								Quickly fork, edit online, and submit a pull request for this page.
								Requires a signed-in GitHub account. This works well for small changes.
								If you'd like to make larger changes you may want to consider using
								local clone.
							
						Module core.stdc.stdatomic
A D implementation of the C stdatomic.h header.
Note: If it compiles it should produce similar assembly to the system C toolchain
   and should not introduce when optimizing unnecessary behaviors,
   if you do not care about this guarantee use the impl suffix.
Note: The D shared type qualifier is the closest to the Atomic type qualifier from C. It may be changed from shared in the future.
Note: Fail memory order is currently ignored due to limitations with internal implementation of atomics.
Functions
Structs
| Name | Description | 
|---|---|
| 
									atomic_flag
								 | Guaranteed to be a atomic boolean type | 
Enums
| Name | Description | 
|---|---|
| 
									memory_order
								 | 
Manifest constants
Aliases
Authors
Richard (Rikki) Andrew cattermole
License
					Copyright © 1999-2024 by the D Language Foundation | Page generated by ddox.