Kernel: Get rid of WaitTypes and simplify lots of code, removing hacks.
This commit is contained in:
parent
6deb1a0119
commit
e5a9f1c644
9 changed files with 63 additions and 122 deletions
|
@ -65,11 +65,10 @@ public:
|
|||
virtual Kernel::HandleType GetHandleType() const = 0;
|
||||
|
||||
/**
|
||||
* Check if this object is available, (optionally) wait the current thread if not
|
||||
* @param wait_thread If true, wait the current thread if this object is unavailable
|
||||
* Check if this object is available
|
||||
* @return True if the current thread should wait due to this object being unavailable
|
||||
*/
|
||||
virtual ResultVal<bool> Wait(bool wait_thread) {
|
||||
virtual ResultVal<bool> Wait() {
|
||||
LOG_ERROR(Kernel, "(UNIMPLEMENTED)");
|
||||
return UnimplementedFunction(ErrorModule::Kernel);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue