kernel/thread: change owner_process parameter to reference

To enforce a valid process object
This commit is contained in:
Weiyi Wang 2018-10-26 09:37:46 -04:00
parent e5c5d1ecce
commit 8ad6cbfde2
3 changed files with 9 additions and 9 deletions

View file

@ -102,7 +102,7 @@ public:
*/
ResultVal<SharedPtr<Thread>> CreateThread(std::string name, VAddr entry_point, u32 priority,
u32 arg, s32 processor_id, VAddr stack_top,
Process* owner_process);
Process& owner_process);
/**
* Creates a semaphore.