kernel/process: Make Process a WaitObject
Process instances can be waited upon for state changes. This is also utilized by svcResetSignal, which will be modified in an upcoming change. This simply puts all of the WaitObject related machinery in place.
This commit is contained in:
parent
a3aa7aaf0b
commit
c7462ce712
3 changed files with 68 additions and 6 deletions
|
@ -15,6 +15,7 @@ bool Object::IsWaitable() const {
|
|||
switch (GetHandleType()) {
|
||||
case HandleType::ReadableEvent:
|
||||
case HandleType::Thread:
|
||||
case HandleType::Process:
|
||||
case HandleType::Timer:
|
||||
case HandleType::ServerPort:
|
||||
case HandleType::ServerSession:
|
||||
|
@ -23,7 +24,6 @@ bool Object::IsWaitable() const {
|
|||
case HandleType::Unknown:
|
||||
case HandleType::WritableEvent:
|
||||
case HandleType::SharedMemory:
|
||||
case HandleType::Process:
|
||||
case HandleType::AddressArbiter:
|
||||
case HandleType::ResourceLimit:
|
||||
case HandleType::ClientPort:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue