summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/writable_event.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* core/kernel: Remove unnecessary inclusionsLioncash2019-01-011-2/+0
| | | | Gets rid of a few unnecessary header dependencies in some source files.
* 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.
* hle_ipc: Refactor SleepClientThread to avoid ReadableEventZach Hilman2018-11-291-0/+2
|
* kernel/event: Reference ReadableEvent from WritableEventZach Hilman2018-11-291-25/+11
|
* kernel: Divide Event into ReadableEvent and WritableEventZach Hilman2018-11-291-0/+75
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.