View difference between Paste ID: 0QHZsduZ and YKjAj9wx
SHOW: | | - or go back to the newest paste.
1
           Global
2
           int x, y;
3
4
Thread 1                    Thread 2
5-
x = 0;                      x = 100;
5+
x = 0;                      y = 100;
6
repeat(100)                 repeat(100)
7-
cout << map[x] << endl;     cout << x << endl;
7+
cout << map[x] << endl;     cout << map[y] << endl;