mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:47:44 +00:00
Revert "Kernel: Switch singletons to use new Singleton class"
This reverts commit f48feae0b2
.
This commit is contained in:
parent
0addcb45b8
commit
2fd9e72264
44 changed files with 146 additions and 184 deletions
|
@ -56,7 +56,6 @@ struct Timer {
|
|||
|
||||
class TimerQueue {
|
||||
public:
|
||||
TimerQueue();
|
||||
static TimerQueue& the();
|
||||
|
||||
TimerId add_timer(NonnullOwnPtr<Timer>&&);
|
||||
|
@ -65,6 +64,8 @@ public:
|
|||
void fire();
|
||||
|
||||
private:
|
||||
TimerQueue();
|
||||
|
||||
void update_next_timer_due();
|
||||
|
||||
u64 microseconds_to_ticks(u64 micro_seconds) { return micro_seconds * (m_ticks_per_second / 1'000'000); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue