summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/readable_event.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* core/kernel/object: Rename ResetType enum membersLioncash2019-05-181-1/+2
| | | | | | | | | | | | | Renames the members to more accurately indicate what they signify. "OneShot" and "Sticky" are kind of ambiguous identifiers for the reset types, and can be kind of misleading. Automatic and Manual communicate the kind of reset type in a clearer manner. Either the event is automatically reset, or it isn't and must be manually cleared. The "OneShot" and "Sticky" terminology is just a hold-over from Citra where the kernel had a third type of event reset type known as "Pulse". Given the Switch kernel only has two forms of event reset types, we don't need to keep the old terminology around anymore.
* 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-4/+0
| | | | This just calls the base variant of the function, so it can be removed.
* Removed pulse event typeDavid Marcec2019-01-041-3/+0
| | | | Pulse is considered a hack and nothing should be using it. We should completely remove it
* kernel/readable_event: Add member function for enforcing a strict reset contractLioncash2018-12-051-1/+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/event: Reference ReadableEvent from WritableEventZach Hilman2018-11-291-14/+10
|
* kernel: Divide Event into ReadableEvent and WritableEventZach Hilman2018-11-291-0/+48
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.