summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/readable_event.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Kernel: Refactor synchronization to better match REFernando Sahmkow2020-02-111-4/+2
|
* Kernel: Change WaitObject to Synchronization object. In order to better reflect RE.Fernando Sahmkow2020-02-111-2/+2
|
* kernel: events: Remove ResetType::Automatic.bunnei2019-11-031-5/+0
| | | | | | | | - This does not actually seem to exist in the real kernel - games reset these automatically. # Conflicts: # src/core/hle/service/am/applets/applets.cpp # src/core/hle/service/filesystem/fsp_srv.cpp
* kernel: readable_event: Initialize members.bunnei2019-11-031-1/+1
|
* kernel: Make handle type declarations constexprLioncash2019-04-111-1/+1
| | | | | | | Some objects declare their handle type as const, while others declare it as constexpr. This makes the const ones constexpr for consistency, and prevent unexpected compilation errors if these happen to be attempted to be used within a constexpr context.
* kernel/wait_object: Make ShouldWait() take thread members by pointer-to-constLioncash2019-04-021-1/+1
| | | | | Given this is intended as a querying function, it doesn't make sense to allow the implementer to modify the state of the given thread.
* 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.