summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/readable_event.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* kernel/readable_event: Remove unnecessary WakeupAllWaitingThreads() overrideLioncash2019-01-301-2/+0
| | | | This just calls the base variant of the function, so it can be removed.
* kernel/readable_event: Add member function for enforcing a strict reset contractLioncash2018-12-051-0/+11
| | | | | | svcResetSignal relies on the event instance to have already been signaled before attempting to reset it. If this isn't the case, then an error code has to be returned.
* kernel/object: Amend handle types to distinguish between readable and writable eventsLioncash2018-12-041-1/+1
| | | | | | | | | | | Two kernel object should absolutely never have the same handle ID type. This can cause incorrect behavior when it comes to retrieving object types from the handle table. In this case it allows converting a WritableEvent into a ReadableEvent and vice-versa, which is undefined behavior, since the object types are not the same. This also corrects ClearEvent() to check both kernel types like the kernel itself does.
* kernel/event: Reference ReadableEvent from WritableEventZach Hilman2018-11-291-9/+8
|
* kernel: Divide Event into ReadableEvent and WritableEventZach Hilman2018-11-291-0/+56
More hardware accurate. On the actual system, there is a differentiation between the signaler and signalee, they form a client/server relationship much like ServerPort and ClientPort.