http://www.youtube.com/watch?v=mrvAqvtWYb4
In summary:
- Writing "correct" thread code using the pthreads and CPU instructions (fencing, for example) requires the code to know whats going on under the hood;
- Gluing concurrency to the "side" of a language which was specified without concurrency has shown to be a bit of a problem - eg, concurrent access to different variables in a structure and how various compilers have implemented this (eg, changing a byte in a struct becoming a 32 bit load, 8 bit modify, 32 bit store);
- Most programmers should really use higher level constructs, like what C++0x and what the Java specification groups have been doing.
No comments:
Post a Comment