lab3.2: cv
This commit is contained in:
@@ -127,6 +127,8 @@ struct cv {
|
||||
char *cv_name;
|
||||
// add what you need here
|
||||
// (don't forget to mark things volatile as needed)
|
||||
struct wchan *wchan;
|
||||
struct spinlock slk;
|
||||
};
|
||||
|
||||
struct cv *cv_create(const char *name);
|
||||
|
||||
Reference in New Issue
Block a user