mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
Kernel: Mark WorkQueue initailzation functions as UNMAP_AFTER_INIT
This commit is contained in:
parent
b5d388a9b3
commit
c8b6bd4b97
Notes:
sideshowbarker
2024-07-18 12:34:58 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/c8b6bd4b979 Pull-request: https://github.com/SerenityOS/serenity/pull/7938
1 changed files with 2 additions and 2 deletions
|
@ -13,12 +13,12 @@ namespace Kernel {
|
|||
|
||||
WorkQueue* g_io_work;
|
||||
|
||||
void WorkQueue::initialize()
|
||||
UNMAP_AFTER_INIT void WorkQueue::initialize()
|
||||
{
|
||||
g_io_work = new WorkQueue("IO WorkQueue");
|
||||
}
|
||||
|
||||
WorkQueue::WorkQueue(const char* name)
|
||||
UNMAP_AFTER_INIT WorkQueue::WorkQueue(const char* name)
|
||||
{
|
||||
RefPtr<Thread> thread;
|
||||
Process::create_kernel_process(thread, name, [this] {
|
||||
|
|
Loading…
Reference in a new issue