diff --git a/orbis-kernel/include/orbis/thread/Thread.hpp b/orbis-kernel/include/orbis/thread/Thread.hpp index cafcc9a8f..1ad22abc5 100644 --- a/orbis-kernel/include/orbis/thread/Thread.hpp +++ b/orbis-kernel/include/orbis/thread/Thread.hpp @@ -4,12 +4,12 @@ #include "types.hpp" #include "ThreadState.hpp" -#include +#include "../utils/SharedMutex.hpp" namespace orbis { struct Process; struct Thread { - std::mutex lock; + shared_mutex mtx; Process *tproc = nullptr; uint64_t retval[2]{}; void *context{};