Kernel: Remove minimum timeout of 100 ms from epoll
This is not actually needed and was just temporary code to make sure i notified the epoll everywhere
This commit is contained in:
parent
804cbeb1a7
commit
809d07546a
|
@ -207,8 +207,7 @@ namespace Kernel
|
|||
continue;
|
||||
|
||||
SpinLockGuardAsMutex smutex(guard);
|
||||
const uint64_t timeout_ns = BAN::Math::min<uint64_t>(100'000'000, waketime_ns - current_ns);
|
||||
TRY(Thread::current().block_or_eintr_or_timeout_ns(m_thread_blocker, timeout_ns, false, &smutex));
|
||||
TRY(Thread::current().block_or_eintr_or_timeout_ns(m_thread_blocker, waketime_ns - current_ns, false, &smutex));
|
||||
}
|
||||
|
||||
return event_count;
|
||||
|
|
Loading…
Reference in New Issue