diff options
| author | 2017-01-01 16:53:22 -0500 | |
|---|---|---|
| committer | 2017-01-04 15:58:45 -0500 | |
| commit | e6a7723f2f4b62279cd4f6d4b48eb02a9b60ffb6 (patch) | |
| tree | b56862bb64fcf57727149de90318671ffd8afe4d /src/core/hle/kernel/timer.h | |
| parent | Kernel/Synch: Do not attempt a reschedule on every syscall. (diff) | |
| download | yuzu-e6a7723f2f4b62279cd4f6d4b48eb02a9b60ffb6.tar.gz yuzu-e6a7723f2f4b62279cd4f6d4b48eb02a9b60ffb6.tar.xz yuzu-e6a7723f2f4b62279cd4f6d4b48eb02a9b60ffb6.zip | |
Kernel: Object ShouldWait and Acquire calls now take a thread as a parameter.
This will be useful when implementing mutex priority inheritance.
Diffstat (limited to 'src/core/hle/kernel/timer.h')
| -rw-r--r-- | src/core/hle/kernel/timer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/timer.h b/src/core/hle/kernel/timer.h index 18ea0236b..2e3b31b23 100644 --- a/src/core/hle/kernel/timer.h +++ b/src/core/hle/kernel/timer.h | |||
| @@ -39,8 +39,8 @@ public: | |||
| 39 | u64 initial_delay; ///< The delay until the timer fires for the first time | 39 | u64 initial_delay; ///< The delay until the timer fires for the first time |
| 40 | u64 interval_delay; ///< The delay until the timer fires after the first time | 40 | u64 interval_delay; ///< The delay until the timer fires after the first time |
| 41 | 41 | ||
| 42 | bool ShouldWait() override; | 42 | bool ShouldWait(Thread* thread) const override; |
| 43 | void Acquire() override; | 43 | void Acquire(Thread* thread) override; |
| 44 | 44 | ||
| 45 | /** | 45 | /** |
| 46 | * Starts the timer, with the specified initial delay and interval. | 46 | * Starts the timer, with the specified initial delay and interval. |