Added CPU, mutex, process, thread, timer

This commit is contained in:
Hamish Milne 2019-08-12 17:01:33 +01:00 committed by zhupengfei
parent 06891d9454
commit f557d26b40
20 changed files with 299 additions and 41 deletions

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!
}
};