lab3.2: cv

This commit is contained in:
2020-05-28 22:06:08 +02:00
parent 6733fafc29
commit b79977ab99
2 changed files with 46 additions and 8 deletions

View File

@@ -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);