summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_readable_event.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2021-05-06hle: kernel: Migrate KReadableEvent and KWritableEvent to KAutoObject.bunnei1-6/+9
2021-02-13kernel: Unify result codes (#5890)Chloe1-2/+1
* kernel: Unify result codes Drop the usage of ERR_NAME convention in kernel for ResultName. Removed seperation between svc_results.h & errors.h as we mainly include both most of the time anyways. * oops * rename errors to svc_results
2021-02-05hle: kernel: Drop R_UNLESS_NOLOG in favor of expanded if-statement.bunnei1-1/+3
2021-02-05hle: kernel: svc: Cleanup KEvent/KReadableEvent/KWritableEvent SVCs.bunnei1-1/+0
2021-02-05hle: kernel: Reimplement KReadableEvent and KWritableEvent.bunnei1-20/+24
2021-02-05hle: kernel: Rename ReadableEvent to KReadableEvent.bunnei1-7/+7
2021-01-29core: hle: kernel: Rename Thread to KThread.bunnei1-1/+1
2021-01-11core: hle: kernel: Update KSynchronizationObject.bunnei1-10/+8
2020-12-06hle: kernel: Migrate to KScopedSchedulerLock.bunnei1-1/+1
2020-12-06hle: kernel: Rewrite scheduler implementation based on Mesopshere.bunnei1-1/+1
2020-06-27SVC: Correct SignalEvent, ClearEvent, ResetSignal, WaitSynchronization, CancelSynchronization, ArbitrateLockFernando Sahmkow1-0/+3
2020-06-04Downgrade "handle not signaled" error to traceDavid Marcec1-1/+1
clogs logs quite a bit
2020-05-02readable_event: Remove unnecessary semicolon in Signal()Lioncash1-4/+6
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 Marcec1-0/+3
2020-02-11Kernel: Refactor synchronization to better match REFernando Sahmkow1-7/+7
2020-02-11Kernel: Change WaitObject to Synchronization object. In order to better reflect RE.Fernando Sahmkow1-1/+1
2019-11-03kernel: readable_event: Signal only once.bunnei1-2/+4
2019-11-03kernel: events: Remove ResetType::Automatic.bunnei1-4/+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
2019-05-18core/kernel/object: Rename ResetType enum membersLioncash1-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.
2019-04-02kernel/wait_object: Make ShouldWait() take thread members by pointer-to-constLioncash1-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.
2019-01-30kernel/readable_event: Remove unnecessary WakeupAllWaitingThreads() overrideLioncash1-4/+0
This just calls the base variant of the function, so it can be removed.
2019-01-04Removed pulse event typeDavid Marcec1-3/+0
Pulse is considered a hack and nothing should be using it. We should completely remove it
2018-12-05kernel/readable_event: Add member function for enforcing a strict reset contractLioncash1-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.
2018-11-29kernel/event: Reference ReadableEvent from WritableEventZach Hilman1-14/+10
2018-11-29kernel: Divide Event into ReadableEvent and WritableEventZach Hilman1-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.