diff options
author | Tom <tomut@yahoo.com> | 2021-02-05 23:36:38 -0700 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-21 13:41:09 +0100 |
commit | 20cccda73161c30907baa0b050221e5ebc3bf0e5 (patch) | |
tree | 671e055f2cabd884bafb587c795f1f78f0f80c3d /Kernel/Forward.h | |
parent | 314f04b896a20bb1d6ef2edae4e1cc6b0cf00e39 (diff) | |
download | serenity-20cccda73161c30907baa0b050221e5ebc3bf0e5.zip |
Kernel: Add simplistic work queues
We can't use deferred functions for anything that may require preemption,
such as copying from/to user or accessing the disk. For those purposes
we should use a work queue, which is essentially a kernel thread that
may be preempted or blocked.
Diffstat (limited to 'Kernel/Forward.h')
-rw-r--r-- | Kernel/Forward.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/Forward.h b/Kernel/Forward.h index e5a3de0c27..3bd2b6e36b 100644 --- a/Kernel/Forward.h +++ b/Kernel/Forward.h @@ -76,6 +76,7 @@ class UserOrKernelBuffer; class VFS; class VMObject; class WaitQueue; +class WorkQueue; template<typename T> class KResultOr; |