summaryrefslogtreecommitdiff
path: root/Kernel/Scheduler.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-07-30 23:50:31 +0200
committerAndreas Kling <kling@serenityos.org>2020-07-30 23:50:31 +0200
commit2e2de125e5134d0fdcb6d4e96a3a025be5630811 (patch)
tree91748a0cfba22a56acbe9d66eab14a813f4dcbdf /Kernel/Scheduler.cpp
parentf2a152e9304ebd8c564cb730190c6aaf232252b5 (diff)
downloadserenity-2e2de125e5134d0fdcb6d4e96a3a025be5630811.zip
Kernel: Turn Process::FileDescriptionAndFlags into a proper class
Diffstat (limited to 'Kernel/Scheduler.cpp')
-rw-r--r--Kernel/Scheduler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/Scheduler.cpp b/Kernel/Scheduler.cpp
index a442c55931..c01caa1798 100644
--- a/Kernel/Scheduler.cpp
+++ b/Kernel/Scheduler.cpp
@@ -221,13 +221,13 @@ bool Thread::SelectBlocker::should_unblock(Thread& thread, time_t now_sec, long
for (int fd : m_select_read_fds) {
if (!process.m_fds[fd])
continue;
- if (process.m_fds[fd].description->can_read())
+ if (process.m_fds[fd].description()->can_read())
return true;
}
for (int fd : m_select_write_fds) {
if (!process.m_fds[fd])
continue;
- if (process.m_fds[fd].description->can_write())
+ if (process.m_fds[fd].description()->can_write())
return true;
}