Added CPU, mutex, process, thread, timer

This commit is contained in:
Hamish Milne
2020-02-13 17:38:16 +08:00
committed by zhupengfei
parent 06891d9454
commit f557d26b40
20 changed files with 299 additions and 41 deletions
+1 -2
View File
@@ -17,7 +17,7 @@ class Thread;
class Mutex final : public WaitObject {
public:
explicit Mutex(KernelSystem& kernel);
explicit Mutex();
~Mutex() override;
std::string GetTypeName() const override {
@@ -68,7 +68,6 @@ private:
ar & priority;
ar & name;
ar & holding_thread;
ar & kernel; // TODO: Check that this works!
}
};