Kernel: Made SyncRequest not pure virtual, with a default implementation of error (as this is not required for all kernel objects)
This commit is contained in:
parent
f5c7c15434
commit
aae9fcf4a4
3 changed files with 4 additions and 23 deletions
|
@ -37,16 +37,6 @@ public:
|
|||
inline bool IsWaiting() const { return (status & THREADSTATUS_WAIT) != 0; }
|
||||
inline bool IsSuspended() const { return (status & THREADSTATUS_SUSPEND) != 0; }
|
||||
|
||||
/**
|
||||
* Synchronize kernel object
|
||||
* @param wait Boolean wait set if current thread should wait as a result of sync operation
|
||||
* @return Result of operation, 0 on success, otherwise error code
|
||||
*/
|
||||
Result SyncRequest(bool* wait) {
|
||||
// TODO(bunnei): ImplementMe
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Wait for kernel object to synchronize
|
||||
* @param wait Boolean wait set if current thread should wait as a result of sync operation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue