Silicon Valley Code Camp : October 6th and 7th, 2012

Hans Boehm

unassigned
About Hans
I'm a researcher at HP Labs.
{speaker.firstName} {speaker.lastName}

Speaking Sessions

  • Threads and Shared Variables in C++11

    2:45 PM Sunday   Room: 5015
    In spite of over 40 years of shared memory parallel programming, there has been a surprising amount of confusion surrounding the basic meaning of shared variables. C++11 both added threads to the language, and clarified the behavior of shared variables. The approach relies on a careful definition of a "data race", which is treated as an error, and a guarantee of expected behavior in the absence of such data races. We'll quickly introduce some of the thread support features in C++11 and then describe the rules for programming with shared variables. We'll illustrate the finer points of the "data race" definition by going through a number of small examples. Much of this is also applicable to C11.