4 Replies Latest reply on Jan 9, 2013 3:41 AM by developer

    exclusive write after read memory access


      for a memory location that is accessed by a single thread, is it allowed to do:


      old = load_buffer(global_addr);

      store_buffer(new, global_addr); // will be executed before the memory load is finished


      and expect old to contain the original value and the memory to contain the new value?