diff options
Diffstat (limited to 'src/core/hle/kernel/timer.h')
| -rw-r--r-- | src/core/hle/kernel/timer.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/hle/kernel/timer.h b/src/core/hle/kernel/timer.h index c174f5664..b0f818933 100644 --- a/src/core/hle/kernel/timer.h +++ b/src/core/hle/kernel/timer.h | |||
| @@ -54,6 +54,14 @@ public: | |||
| 54 | void Cancel(); | 54 | void Cancel(); |
| 55 | void Clear(); | 55 | void Clear(); |
| 56 | 56 | ||
| 57 | /** | ||
| 58 | * Signals the timer, waking up any waiting threads and rescheduling it | ||
| 59 | * for the next interval. | ||
| 60 | * This method should not be called from outside the timer callback handler, | ||
| 61 | * lest multiple callback events get scheduled. | ||
| 62 | */ | ||
| 63 | void Signal(int cycles_late); | ||
| 64 | |||
| 57 | private: | 65 | private: |
| 58 | Timer(); | 66 | Timer(); |
| 59 | ~Timer() override; | 67 | ~Timer() override; |