aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/readable_event.cpp
AgeCommit message (Collapse)Author
2021-02-05hle: kernel: Rename ReadableEvent to KReadableEvent.bunnei
2021-01-28core: hle: kernel: Rename Thread to KThread.bunnei
2021-01-11core: hle: kernel: Update KSynchronizationObject.bunnei
2020-12-06hle: kernel: Migrate to KScopedSchedulerLock.bunnei
2020-12-06hle: kernel: Rewrite scheduler implementation based on Mesopshere.bunnei
2020-06-27SVC: Correct SignalEvent, ClearEvent, ResetSignal, WaitSynchronization, ↵Fernando Sahmkow
CancelSynchronization, ArbitrateLock
2020-06-04Downgrade "handle not signaled" error to traceDavid Marcec
clogs logs quite a bit
2020-05-02readable_event: Remove unnecessary semicolon in Signal()Lioncash
Resolves a -Wextra-semi warning. While we're at it, we can invert the branch to form a guard clause, unindenting all of the contained code.
2020-04-29kernel: Don't fail silentlyDavid Marcec
2020-02-11Kernel: Refactor synchronization to better match REFernando Sahmkow
2020-02-11Kernel: Change WaitObject to Synchronization object. In order to better ↵Fernando Sahmkow
reflect RE.
2019-11-03kernel: readable_event: Signal only once.bunnei
2019-11-03kernel: events: Remove ResetType::Automatic.bunnei
- 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
2019-05-18core/kernel/object: Rename ResetType enum membersLioncash
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.
2019-04-01kernel/wait_object: Make ShouldWait() take thread members by pointer-to-constLioncash
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.
2019-01-30kernel/readable_event: Remove unnecessary WakeupAllWaitingThreads() overrideLioncash
This just calls the base variant of the function, so it can be removed.
2019-01-04Removed pulse event typeDavid Marcec
Pulse is considered a hack and nothing should be using it. We should completely remove it
2018-12-04kernel/readable_event: Add member function for enforcing a strict reset contractLioncash
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.
2018-11-29kernel/event: Reference ReadableEvent from WritableEventZach Hilman
2018-11-29kernel: Divide Event into ReadableEvent and WritableEventZach Hilman
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.