kernel/event: Reference ReadableEvent from WritableEvent
This commit is contained in:
parent
ff610103b5
commit
a342bcc9b1
32 changed files with 175 additions and 317 deletions
|
@ -1366,7 +1366,7 @@ static ResultCode ResetSignal(Handle handle) {
|
|||
|
||||
ASSERT(event != nullptr);
|
||||
|
||||
event->PromoteToWritable()->Clear();
|
||||
event->Clear();
|
||||
return RESULT_SUCCESS;
|
||||
}
|
||||
|
||||
|
@ -1531,7 +1531,7 @@ static ResultCode ClearEvent(Handle handle) {
|
|||
return ERR_INVALID_HANDLE;
|
||||
}
|
||||
|
||||
evt->PromoteToWritable()->Clear();
|
||||
evt->Clear();
|
||||
return RESULT_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue