MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / SleepBlocker

Method SleepBlocker

Kernel/src/arch/x86_64/timer.cpp:33–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31 long ticks = 0;
32 public:
33 SleepBlocker(long ticks){
34 this->ticks = ticks;
35 }
36
37 void Block(thread_t* thread) final {
38 if(!sleeping.get_length()){

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected