mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 11:48:32 +00:00
Kernel: Make Thread use AK::Time internally
This commit is very invasive, because Thread likes to take a pointer and write to it. This means that translating between timespec/timeval/Time would have been more difficult than just changing everything that hands a raw pointer to Thread, in bulk.
This commit is contained in:
committed by
Andreas Kling
parent
65b36e42b8
commit
2b6546c40a
@@ -68,7 +68,7 @@ void AsyncDeviceRequest::request_finished()
|
||||
m_queue.wake_all();
|
||||
}
|
||||
|
||||
auto AsyncDeviceRequest::wait(timeval* timeout) -> RequestWaitResult
|
||||
auto AsyncDeviceRequest::wait(Time* timeout) -> RequestWaitResult
|
||||
{
|
||||
VERIFY(!m_parent_request);
|
||||
auto request_result = get_request_result();
|
||||
|
||||
Reference in New Issue
Block a user