title: Is reading data in one thread while it is written to in another dangerous for the OS?
body: <p>There is nothing in the way the program uses this data which will cause the program to crash if it reads the old value rather than the new value. It <strong>will</strong> get the new value at some point. </p>
  
  <p>However, I am wondering if reading and writing at the same time from multiple threads can cause problems for the OS?</p>
  
  <p>I am yet to see them if it does. The program is developed in Linux using pthreads.</p>
  
  <p>I am not interested in being told how to use mutexs/semaphores/locks/etc <strong>edit:</strong> so my program is only getting the new values, that is not what I'm asking.</p>