1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 22:27:42 +00:00

LibGUI+Kernel: Add a GLock class (userspace mutex.)

It's basically a userspace port of the kernel's Lock class.
Added gettid() and donate() syscalls to support the timeslice donation
feature we already enjoyed in the kernel.
This commit is contained in:
Andreas Kling 2019-03-25 13:03:49 +01:00
parent 108b663618
commit 500df578fe
10 changed files with 176 additions and 12 deletions

View file

@ -312,6 +312,7 @@ const char* sys_errlist[] = {
"Timed out",
"Wrong protocol type",
"Operation in progress",
"No such thread",
"The highest errno +1 :^)",
};