Race conditions and caching variables
by jake ~ March 31st, 2011. Filed under: Drupal.I would like to claim an utter hatred of race conditions. This is where code is written in such a way that it doesn’t fully consider the possibility of another thread (e.g. another website hit) or threads occurring concurrently. Consider the following which has been increasingly frustrating me recently: Drupal stores variables in the ‘variables’ [...]
