Explorar o código

forgot to modify header with extra CV fields

tarfeef101 %!s(int64=6) %!d(string=hai) anos
pai
achega
caa0f7fa4e
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      kern/include/synch.h

+ 4 - 4
kern/include/synch.h

@@ -113,10 +113,10 @@ void lock_destroy(struct lock *);
  * (should be) made internally.
  */
 
-struct cv {
-        char *cv_name;
-        // add what you need here
-        // (don't forget to mark things volatile as needed)
+struct cv
+{
+  char * cv_name;
+  struct wchan * wc;
 };
 
 struct cv *cv_create(const char *name);