1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:47:46 +00:00

Kernel: Disable big process lock for sys$beep()

The PCSpeaker is global and not locked anyways, so there's no need for
mutual exclusion between threads in the same process.
This commit is contained in:
Idan Horowitz 2021-08-06 14:22:21 +03:00 committed by Andreas Kling
parent c3f668a758
commit da0b7d1737
2 changed files with 2 additions and 2 deletions

View file

@ -133,7 +133,7 @@ enum class NeedsBigProcessLock {
S(exit_thread, NeedsBigProcessLock::Yes) \
S(mknod, NeedsBigProcessLock::Yes) \
S(writev, NeedsBigProcessLock::Yes) \
S(beep, NeedsBigProcessLock::Yes) \
S(beep, NeedsBigProcessLock::No) \
S(getsockname, NeedsBigProcessLock::Yes) \
S(getpeername, NeedsBigProcessLock::Yes) \
S(socketpair, NeedsBigProcessLock::Yes) \