mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:38:12 +00:00
Kernel: Use new Thread::previous_mode to track ticks
This commit is contained in:
parent
0bd558081e
commit
33cdc1d2f1
3 changed files with 4 additions and 4 deletions
|
@ -971,7 +971,7 @@ public:
|
|||
|
||||
void exit(void* = nullptr);
|
||||
|
||||
bool tick(bool in_kernel);
|
||||
bool tick();
|
||||
void set_ticks_left(u32 t) { m_ticks_left = t; }
|
||||
u32 ticks_left() const { return m_ticks_left; }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue