2 Replies - 966 Views - Last Post: 09 September 2016 - 09:06 PM

#1 Skydiver  Icon User is offline

  • Code herder
  • member icon

Reputation: 5824
  • View blog
  • Posts: 19,835
  • Joined: 05-May 12

Double-Checked Locking is Fixed In C++11

Posted 30 January 2016 - 07:04 PM

Double-Checked Locking is Fixed In C++11

I had known that the double-checked locking was broken in Java, but I missed out on understanding the implications that it was broken in C/C++ as well. Anyway, it looks like C++11 provides a platform independent solution.
Is This A Good Question/Topic? 1
  • +

Replies To: Double-Checked Locking is Fixed In C++11

#2 pradesah  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 28-August 16

Re: Double-Checked Locking is Fixed In C++11

Posted 28 August 2016 - 12:41 PM

http://preshing.com/...fixed-in-cpp11/
This link has the details.

Looks like its Fixed in C++11.
Was This Post Helpful? 0
  • +
  • -

#3 Skydiver  Icon User is offline

  • Code herder
  • member icon

Reputation: 5824
  • View blog
  • Posts: 19,835
  • Joined: 05-May 12

Re: Double-Checked Locking is Fixed In C++11

Posted 09 September 2016 - 09:06 PM

Your link is the same as my link.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1