kernel/thread: change owner_process parameter to reference
To enforce a valid process object
This commit is contained in:
parent
e5c5d1ecce
commit
8ad6cbfde2
3 changed files with 9 additions and 9 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue