Re: C++11 - using const and mutable for thread safety [Video]

2013-01-05 Thread Paulo Pinto

On Friday, 4 January 2013 at 19:03:14 UTC, Walter Bright wrote:

On 1/4/2013 6:00 AM, Dmitry Olshansky wrote:

03-Jan-2013 12:39, Michal Minich пишет:
Newly discovered changes in C++11 on using const and mutable 
for thread

safety

http://channel9.msdn.com/posts/C-and-Beyond-2012-Herb-Sutter-You-dont-know-blank-and-blank




So now const is retrofitted as thread-safe. Again by 
convention.
And that is true only because of a statement in std library 
expectations. This

shift is great but just ... by convention.

Looks like this channel got some updates on C++ and beyond 
2012. I've found this

one to be far more revealing:

http://channel9.msdn.com/Shows/Going+Deep/C-and-Beyond-2012-Andrei-Alexandrescu-Systematic-Error-Handling-in-C


Channel 9 has some great videos. I wish the good ones had 
transcripts.


Usually they are better to watch then whatever might be showing 
on TV, but only on alone evenings. :)


Re: C++11 - using const and mutable for thread safety [Video]

2013-01-04 Thread Dmitry Olshansky

03-Jan-2013 12:39, Michal Minich пишет:

Newly discovered changes in C++11 on using const and mutable for thread
safety

http://channel9.msdn.com/posts/C-and-Beyond-2012-Herb-Sutter-You-dont-know-blank-and-blank



So now const is retrofitted as thread-safe. Again by convention.
And that is true only because of a statement in std library 
expectations. This shift is great but just ... by convention.


Looks like this channel got some updates on C++ and beyond 2012. I've 
found this one to be far more revealing:


http://channel9.msdn.com/Shows/Going+Deep/C-and-Beyond-2012-Andrei-Alexandrescu-Systematic-Error-Handling-in-C



--
Dmitry Olshansky


Re: C++11 - using const and mutable for thread safety [Video]

2013-01-04 Thread Walter Bright

On 1/4/2013 6:00 AM, Dmitry Olshansky wrote:

03-Jan-2013 12:39, Michal Minich пишет:

Newly discovered changes in C++11 on using const and mutable for thread
safety

http://channel9.msdn.com/posts/C-and-Beyond-2012-Herb-Sutter-You-dont-know-blank-and-blank




So now const is retrofitted as thread-safe. Again by convention.
And that is true only because of a statement in std library expectations. This
shift is great but just ... by convention.

Looks like this channel got some updates on C++ and beyond 2012. I've found this
one to be far more revealing:

http://channel9.msdn.com/Shows/Going+Deep/C-and-Beyond-2012-Andrei-Alexandrescu-Systematic-Error-Handling-in-C


Channel 9 has some great videos. I wish the good ones had transcripts.



C++11 - using const and mutable for thread safety [Video]

2013-01-03 Thread Michal Minich
Newly discovered changes in C++11 on using const and mutable for 
thread safety


http://channel9.msdn.com/posts/C-and-Beyond-2012-Herb-Sutter-You-dont-know-blank-and-blank