Browse Source

Added corrected .

Lorenz Bung 8 years ago
parent
commit
d452d52a3e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      hw8/simu1/main-race.c

+ 1
- 1
hw8/simu1/main-race.c View File

@@ -5,7 +5,7 @@
5 5
 int balance = 0;
6 6
 
7 7
 void* worker(void* arg) {
8
-    balance++; // unprotected access
8
+    //balance++; // unprotected access
9 9
     return NULL;
10 10
 }
11 11
 

Loading…
Cancel
Save