mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 17:10:23 +00:00
95c3442d59
GObjects can now register a timer with the GEventLoop. This will eventually cause GTimerEvents to be dispatched to the GObject. This needed a few supporting changes in the kernel: - The PIT now ticks 1000 times/sec. - select() now supports an arbitrary timeout. - gettimeofday() now returns something in the tv_usec field. With these changes, the clock window in guitest2 finally ticks on its own.
12 lines
142 B
C++
12 lines
142 B
C++
#pragma once
|
|
|
|
#include <AK/Types.h>
|
|
|
|
#define TICKS_PER_SECOND 1000
|
|
|
|
namespace PIT {
|
|
|
|
void initialize();
|
|
dword ticks_since_boot();
|
|
|
|
}
|