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
Double-checked locking
(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!
== External links == * Issues with the double checked locking mechanism captured in [https://web.archive.org/web/20060620041255/http://purevirtuals.com/blog/2006/06/16/son-of-a-bug/ Jeu George's Blogs] * [[c2:DoubleCheckedLocking|"Double Checked Locking" Description from the Portland Pattern Repository]] * [[c2:DoubleCheckedLockingIsBroken|"Double Checked Locking is Broken" Description from the Portland Pattern Repository]] * Paper "[http://www.aristeia.com/Papers/DDJ_Jul_Aug_2004_revised.pdf C++ and the Perils of Double-Checked Locking]" (475 KB) by [[Scott Meyers]] and [[Andrei Alexandrescu]] * Article "[https://www.infoworld.com/article/2074979/double-checked-locking--clever--but-broken.html Double-checked locking: Clever, but broken]" by [[Brian Goetz]] * Article "[https://www.infoworld.com/article/2074990/warning--threading-in-a-multiprocessor-world.html Warning! Threading in a multiprocessor world]" by [[Allen Holub]] * [http://www.ibm.com/developerworks/java/library/j-dcl/index.html Double-checked locking and the Singleton pattern] * [https://web.archive.org/web/20060412081055/http://www.oaklib.org/docs/oak/singleton.html Singleton Pattern and Thread Safety] * [http://msdn2.microsoft.com/en-us/library/12a04hfd.aspx volatile keyword in VC++ 2005] * [https://web.archive.org/web/20120902131951/https://blogs.oracle.com/cwebster/entry/double_check_locking Java Examples and timing of double check locking solutions] * {{cite news |url=http://www.oracle.com/technetwork/articles/javase/bloch-effective-08-qa-140880.html |title=More Effective Java With Google's Joshua Bloch}} {{Design Patterns patterns}} [[Category:Concurrency control]] [[Category:Software design patterns]] [[Category:Articles with example Java code]]
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)