mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-07 11:39:44 +03:00
Kernel: Remove two outdated FIXMEs about the file descriptor table mutex
These functions cannot be called without already holding the relevant mutex these days, since m_fds is a MutexProtected object. :^)
This commit is contained in:
parent
5aa12da959
commit
36b0ecfe9e
Notes:
sideshowbarker
2024-07-17 10:10:18 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/36b0ecfe9e
@ -941,14 +941,12 @@ LockRefPtr<Thread> Process::create_kernel_thread(void (*entry)(void*), void* ent
|
||||
|
||||
void Process::OpenFileDescriptionAndFlags::clear()
|
||||
{
|
||||
// FIXME: Verify Process::m_fds_lock is locked!
|
||||
m_description = nullptr;
|
||||
m_flags = 0;
|
||||
}
|
||||
|
||||
void Process::OpenFileDescriptionAndFlags::set(NonnullLockRefPtr<OpenFileDescription>&& description, u32 flags)
|
||||
{
|
||||
// FIXME: Verify Process::m_fds_lock is locked!
|
||||
m_description = move(description);
|
||||
m_flags = flags;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user