core: hle: kernel: Rename Thread to KThread.

This commit is contained in:
bunnei
2020-12-30 23:01:08 -08:00
parent df41e78205
commit c0d3aef28c
45 changed files with 271 additions and 272 deletions

View File

@ -20,7 +20,7 @@ struct EventType;
namespace Kernel {
class Thread;
class KThread;
/**
* The `TimeManager` takes care of scheduling time events on threads and executes their TimeUp
@ -32,12 +32,12 @@ public:
/// Schedule a time event on `timetask` thread that will expire in 'nanoseconds'
/// returns a non-invalid handle in `event_handle` if correctly scheduled
void ScheduleTimeEvent(Handle& event_handle, Thread* timetask, s64 nanoseconds);
void ScheduleTimeEvent(Handle& event_handle, KThread* timetask, s64 nanoseconds);
/// Unschedule an existing time event
void UnscheduleTimeEvent(Handle event_handle);
void CancelTimeEvent(Thread* time_task);
void CancelTimeEvent(KThread* time_task);
private:
Core::System& system;