SHARE
TWEET

How to identify reorderable code Code reordering problems (.NET)

a guest Feb 27th, 2012 30 Never
  1. internal static volatile int s_x = 0;
  2. internal static volatile int s_y = 0;
  3. internal static volatile int s_ya = 0;
  4.  
  5. void ThreadA() {
  6.     s_x = 1;
  7.     s_ya = s_y;
  8. }
  9.        
  10. Processing.Add(ItemNumber, null);
  11. AsyncTask.Begin(InternalRequestCallback, Remove, ItemNumber);
RAW Paste Data
Top