serenity/Kernel
Brian Gianforcaro 25a620a573 Kernel: Enable timeout support for sys$futex(FUTEX_WAIT)
Utilize the new Thread::wait_on timeout parameter to implement
timeout support for FUTEX_WAIT.

As we compute the relative time from the user specified absolute
time, we try to delay that computation as long as possible before
we call into Thread::wait_on(..). To enable this a small bit of
refactoring was done pull futex_queue fetching out and timeout fetch
and calculation separation.
2020-04-26 21:31:52 +02:00
..
ACPI Kernel: Reorder bitwise operations when creating PCI interrupt overrides 2020-04-09 20:45:44 +02:00
Arch/i386 CPU: Handle Debug exception 2020-04-13 23:20:59 +02:00
Devices Kernel: Refuse to set overflowy resolution values in BXVGADevice 2020-04-15 17:15:40 +02:00
FileSystem Kernel: rmdir("/") should fail instead of asserting 2020-04-19 18:07:16 +02:00
Heap Kernel: Update cryptically-named functions related to symbolication 2020-04-08 17:19:46 +02:00
Interrupts Interrupts: Simplify initialization a bit more 2020-04-09 20:45:44 +02:00
Net Kernel: Use shared locking mode in some places 2020-04-18 13:58:29 +02:00
PCI Kernel: Instantiate network adapters in their own detect() methods 2020-04-11 10:02:31 +02:00
Tasks Kernel: Move sync and finalization tasks into their own files 2020-04-08 17:19:46 +02:00
Time Kernel: Remove CommandLine::get() in favor of lookup() 2020-04-18 14:22:42 +02:00
TTY Kernel: Add explicit offset parameter to File::read etc 2020-04-10 11:59:30 +02:00
VM Kernel: Switch the first-8MB-of-upper-3GB pseudo mappings to 4KB pages 2020-04-13 22:35:37 +02:00
.bochsrc
.gitignore
Assertions.h
build-image-grub.sh
build-image-qemu.sh Build: Add FreeBSD support (#1492) 2020-03-21 09:46:30 +01:00
build-root-filesystem.sh Applications: Remove ChanViewer app 2020-04-23 18:38:54 +02:00
CMOS.cpp
CMOS.h
CommandLine.cpp Kernel: Remove CommandLine::get() in favor of lookup() 2020-04-18 14:22:42 +02:00
CommandLine.h Kernel: Remove CommandLine::get() in favor of lookup() 2020-04-18 14:22:42 +02:00
debug-kernel
DoubleBuffer.cpp AK: Reduce header dependency graph of String.h 2020-03-23 13:48:44 +01:00
DoubleBuffer.h
FB.h
Forward.h Kernel: Add 'ptrace' syscall 2020-03-28 18:27:18 +01:00
grub-ebr.cfg Kernel: Change noacpi GRUB entry to use the right boot argument 2020-03-24 16:15:33 +01:00
grub-gpt.cfg Kernel: Change noacpi GRUB entry to use the right boot argument 2020-03-24 16:15:33 +01:00
grub-mbr.cfg Kernel: Change noacpi GRUB entry to use the right boot argument 2020-03-24 16:15:33 +01:00
init.cpp Kernel: Remove CommandLine::get() in favor of lookup() 2020-04-18 14:22:42 +02:00
KBuffer.h AK: Reduce header dependency graph of String.h 2020-03-23 13:48:44 +01:00
KBufferBuilder.cpp
KBufferBuilder.h
KernelInfoPage.h
KeyCode.h
KResult.h Kernel+LibC: Remove ESUCCESS 2020-04-10 13:09:35 +02:00
KSyms.cpp LibELF: Move ELF classes into namespace ELF 2020-04-11 22:41:05 +02:00
KSyms.h Kernel: Update cryptically-named functions related to symbolication 2020-04-08 17:19:46 +02:00
linker.ld
Lock.cpp Kernel: Add timeout support to Thread::wait_on 2020-04-26 21:31:52 +02:00
Lock.h Kernel: Introduce shared locking mode 2020-04-18 13:58:29 +02:00
makeall.sh Build: Add FreeBSD support (#1492) 2020-03-21 09:46:30 +01:00
Makefile Build: Use the GCC port if building on "SerenityOS" :^) 2020-04-20 19:52:35 +02:00
mkmap.sh
Module.h
MousePacket.h Kernel: Simplify VMWareBackdoor somewhat 2020-04-08 17:19:46 +02:00
Multiboot.h
PerformanceEventBuffer.cpp Kernel: Include the current instruction pointer in profile samples 2020-04-11 21:04:45 +02:00
PerformanceEventBuffer.h AK: Add global FlatPtr typedef. It's u32 or u64, based on sizeof(void*) 2020-03-08 13:06:51 +01:00
Process.cpp Kernel: Enable timeout support for sys$futex(FUTEX_WAIT) 2020-04-26 21:31:52 +02:00
Process.h Kernel: Added the ability to set the hostname via new syscall 2020-04-26 12:59:09 +02:00
Profiling.cpp LibELF: Move ELF classes into namespace ELF 2020-04-11 22:41:05 +02:00
Profiling.h Kernel: Bump the max stack frame count in sample profiles to 50 2020-04-12 11:00:38 +02:00
Ptrace.cpp Kernel: Remove SmapDisablers in sys$ptrace() implementation 2020-04-14 09:50:14 +02:00
Ptrace.h ptrace: Add PT_SETREGS 2020-04-13 00:53:22 +02:00
Random.cpp
Random.h
RTC.cpp Kernel: Fix awkward RTC log message at boot 2020-04-08 17:19:46 +02:00
RTC.h
run Kernel: Run QEMU machine with two virtual processors 2020-03-24 16:15:33 +01:00
Scheduler.cpp Kernel: Include the current instruction pointer in profile samples 2020-04-11 21:04:45 +02:00
Scheduler.h Scheduler: Use monotonic time for blocking threads 2020-03-19 15:48:00 +01:00
SharedBuffer.cpp Kernel: Use shared locking mode in some places 2020-04-18 13:58:29 +02:00
SharedBuffer.h
sync.sh
Syscall.cpp Kernel: Add 'ptrace' syscall 2020-03-28 18:27:18 +01:00
Syscall.h Kernel: Added the ability to set the hostname via new syscall 2020-04-26 12:59:09 +02:00
TestModule.cpp Kernel: Use klog() instead of kprintf() 2020-03-02 22:23:39 +01:00
Thread.cpp Kernel: Add timeout support to Thread::wait_on 2020-04-26 21:31:52 +02:00
Thread.h Kernel: Add timeout support to Thread::wait_on 2020-04-26 21:31:52 +02:00
ThreadTracer.cpp ptrace: Add PT_SETREGS 2020-04-13 00:53:22 +02:00
ThreadTracer.h Debugger: Add DebugSession 2020-04-13 00:53:22 +02:00
TimerQueue.cpp Kernel: Refactor TimeQueue::add_timer to use timeval 2020-04-26 21:31:52 +02:00
TimerQueue.h Kernel: Refactor TimeQueue::add_timer to use timeval 2020-04-26 21:31:52 +02:00
UnixTypes.h ptrace: Add PT_SETREGS 2020-04-13 00:53:22 +02:00
WaitQueue.cpp Kernel: Implement FUTEX_WAKE of arbitrary count. 2020-04-26 12:35:35 +02:00
WaitQueue.h Kernel: Implement FUTEX_WAKE of arbitrary count. 2020-04-26 12:35:35 +02:00