Ver Fonte

omg i'm a freaking idiot

tarfeef101 há 6 anos atrás
pai
commit
a9d0e0e9ce
1 ficheiros alterados com 1 adições e 0 exclusões
  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;
 }