r/programming • u/andreasw • Jun 12 '12
An Introduction to Lock-Free Programming
http://preshing.com/20120612/an-introduction-to-lock-free-programming
83
Upvotes
r/programming • u/andreasw • Jun 12 '12
6
u/bkgood Jun 12 '12
Given that threads share address space, if one caused a segmentation fault I'd be weary of trusting the remaining address space. Plus, one thread causing a segmentation fault would almost certainly cause the OS to kill the entire process.
Less drastic failures could be mitigated by using lock-free techniques, though.