mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:17:44 +00:00
Kernel: Remove big lock from sys$accept4
The only thing we needed to check is whether `socket.accept()` returns a socket, and if not, we go back to blocking again.
This commit is contained in:
parent
14fc05e912
commit
cc411b328c
2 changed files with 12 additions and 13 deletions
|
@ -40,7 +40,7 @@ enum class NeedsBigProcessLock {
|
|||
// - VERIFY_NO_PROCESS_BIG_LOCK(this)
|
||||
//
|
||||
#define ENUMERATE_SYSCALLS(S) \
|
||||
S(accept4, NeedsBigProcessLock::Yes) \
|
||||
S(accept4, NeedsBigProcessLock::No) \
|
||||
S(access, NeedsBigProcessLock::Yes) \
|
||||
S(adjtime, NeedsBigProcessLock::No) \
|
||||
S(alarm, NeedsBigProcessLock::Yes) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue