mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
[kernel] Use the hpet clock source in scheduler
There has been a global clock object for a while now, but scheduler was never using it, instead still using its simple increment clock. Now it uses the hpet clock.
This commit is contained in:
@@ -160,7 +160,7 @@ main(int argc, const char **argv)
|
||||
size_t len = 0;
|
||||
while (true) {
|
||||
uint64_t tag = 0;
|
||||
result = j6_endpoint_receive(endp, &tag, nullptr, &len, 10);
|
||||
result = j6_endpoint_receive(endp, &tag, nullptr, &len, 10000);
|
||||
if (result == j6_err_timed_out) {
|
||||
com1.handle_interrupt();
|
||||
com2.handle_interrupt();
|
||||
|
||||
Reference in New Issue
Block a user