Parcourir la source

omg i'm a freaking idiot

tarfeef101 il y a 6 ans
Parent
commit
a9d0e0e9ce
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      kern/thread/synch.c

+ 1 - 0
kern/thread/synch.c

@@ -170,6 +170,7 @@ struct lock * lock_create(const char * name)
   
   spinlock_init(&(lock->spin));
   lock->owner = NULL;
+  lock->wc = wc;
     
   return lock;
 }