Create an Account
username: password:
 
  MemeStreams Logo

MemeStreams Discussion

search


This page contains all of the posts and discussion on MemeStreams referencing the following web page: Threads and memory model for C/C++. You can find discussions on MemeStreams as you surf the web, even if you aren't a MemeStreams member, using the Threads Bookmarklet.

Threads and memory model for C/C++
by bucy at 8:50 pm EST, Nov 2, 2005

We have begun an effort to clarify the meaning of multi-threaded C programs, and to provide some standard thread-related APIs where those are currently missing. Here we list some of the documents relevant to that effort.

Hans Boehm gave a talk about this stuff at work today. The main takeaway I got was that the compiler, optimizing for single-threaded execution, can reorder instructions in such a way as to create race conditions when executed concurrently. What a mess...


 
 
Powered By Industrial Memetics