Was asked this question for an interview and really wasn't sure how to answer it. Can anyone suggest examples of where a bug will only present itself when using multiple CPU/core and NEVER happen on a single CPU?
The question didn't mention "threading", i.e. nothing specific about threads running within one process (sharing the same memory space), where I know synchronization ought to take place if accessing shared data (using critical section, mutex etc).
However, this question suggests that the "problem" is with running in parallel on two/more CPUs. Examples would be much appreciated.
Have spent the whole day on google - maybe just need a bit of a pointer :?:
Thank you