1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:57:35 +00:00

Kernel: Add TimeManagement::is_initialized()

This allows clients to check whether TimeManagement is available before
trying to ask it about time related things.
This commit is contained in:
Andreas Kling 2021-10-26 00:55:54 +02:00
parent bf88adbcb6
commit 0592f80186
2 changed files with 6 additions and 0 deletions

View file

@ -34,6 +34,7 @@ class TimeManagement {
public:
TimeManagement();
static void initialize(u32 cpu);
static bool is_initialized();
static TimeManagement& the();
static bool is_valid_clock_id(clockid_t);