Forráskód Böngészése

desparately trying a reordering

tarfeef101 6 éve
szülő
commit
60ce6f9bf5
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      kern/thread/synch.c

+ 1 - 1
kern/thread/synch.c

@@ -168,8 +168,8 @@ struct lock * lock_create(const char * name)
     return NULL;
   }
   
-  lock->owner = NULL;
   spinlock_init(&(lock->spin));
+  lock->owner = NULL;
     
   return lock;
 }