Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Memory barrier
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Multithreaded programming and memory visibility== {{See also|Memory model (programming)}} Multithreaded programs usually use synchronization primitives provided by a high-level programming environment—such as [[Java (programming language)|Java]] or [[.NET]]—or an [[application programming interface]] (API) such as POSIX Threads or [[Windows API]]. Synchronization primitives such as [[Mutual exclusion|mutexes]] and [[semaphore (programming)|semaphores]] are provided to synchronize access to resources from parallel threads of execution. These primitives are usually implemented with the memory barriers required to provide the expected memory visibility [[Semantics#Computer science|semantics]]. In such environments explicit use of memory barriers is not generally necessary.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)