Previous | Next --- Slide 41 of 65
Back to Lecture Thumbnails
zckchange

What happens if with atomicity but without isolation?

jkorn

@zckchange Then that isn't doing what the atomic block represents, right? If you are just doing each operation in the atomic block atomically, then you can still have a valid interleaved ordering of reads and writes from other threads within the atomic block. The whole point, though, is you want that entire block of code to be atomic, which means that all of it must be committed together; without isolation, other processors can observe writes in the middle of the atomic block before it's committed which is not intended.