Writing to the same memory location, is this possible?

Posted by Achilles on Stack Overflow See other posts from Stack Overflow or by Achilles
Published on 2010-06-03T17:50:40Z Indexed on 2010/06/03 17:54 UTC
Read the original article Hit count: 143

Filed under:
|

Consider the following:

ThreadA and ThreadB are two threads writing diagnostic information to a common object which stores a list of diagnostic information. Is it possible for ThreadA and ThreadB to write to the same memory address at the same time? If so what would result?

© Stack Overflow or respective owner

Related posts about multithreading

Related posts about memory