LWN.net Logo

A look at C++14, part 1

A look at C++14, part 1

Posted Apr 1, 2013 23:05 UTC (Mon) by nix (subscriber, #2304)
In reply to: A look at C++14, part 1 by simlo
Parent article: A look at C++14, part 1

Before the newest C++ standeard the compiler didn't know about threading. That is it could optimize away as it wanted. Only the OS knew about threading. Now the compiler have to lay out code, which can work in a multi-threaded environment.
I commend to you Hans Boehm's Threads Cannot be Implemented as a Library.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds