Previous | Next --- Slide 12 of 51
Back to Lecture Thumbnails

With relaxed memory consistency we can get "hello world" or "world hello" as possible outputs in addition to "hello", "world" or nothing.


@Calloc Not necessarily. I think it depends on what relaxed memory consistency model you choose.


@aperley In this case, because there are only two threads, TOC and PC actually guarantee the same thing.