Use load_construct_data for kernel objects
This commit is contained in:
parent
3ed8d95866
commit
6917eaf53b
35 changed files with 158 additions and 113 deletions
|
@ -18,7 +18,7 @@ class Thread;
|
|||
|
||||
class Mutex final : public WaitObject {
|
||||
public:
|
||||
explicit Mutex();
|
||||
explicit Mutex(KernelSystem& kernel);
|
||||
~Mutex() override;
|
||||
|
||||
std::string GetTypeName() const override {
|
||||
|
@ -81,3 +81,4 @@ void ReleaseThreadMutexes(Thread* thread);
|
|||
} // namespace Kernel
|
||||
|
||||
BOOST_CLASS_EXPORT_KEY(Kernel::Mutex)
|
||||
CONSTRUCT_KERNEL_OBJECT(Kernel::Mutex)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue