title: Managing thread access to unique RAM address from Multi Cores
body: <p>Are threads of the same process (program) ever distributed across multiple cores?</p>
  
  <p>In a multi core/processor system does each core have access to the whole of RAM or is the RAM logically divided up amongst cores?</p>
  
  <p>Would it not be possible for the two cores to be processing different threads each of which needs to "lock" access to a RAM address in order to guarantee atomicity. On a single core, every assembler code instruction is atomic as the quantum of atomicity is the core clock cycle. On a multi core this can not be assumed because although the first core has not stepped forward to the next assembler instruction, another core might have already messed with the value in RAM which the first core initially loaded into a register to process.</p>
  
  <p>Intuitively I know this must cause a problem in a multicore system but I have nothing solid to continue my research. All help thankfully received.</p>