[dmd-concurrency] draft 8: the final countdown

Robert Jacques sandford at jhu.edu
Wed Feb 10 20:05:04 PST 2010


S2.16: "Also, some processor offered more advanced light weight  
interlocked instructions such as atomic increment or test-and-set.": some  
processor => some processors

Question: will cas also support 2-word structs and/or smaller types like  
shorts and bytes?

S 2.16.2: This section should mention the ABA problem, the common solution  
(tagging) and note it doesn't always work due to overflow.

P.S. Given all I've read, lock-free programming is more like the Olympics  
than the Iron Man :)


More information about the dmd-concurrency mailing list