mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
5e7605fad2
The idle thread is now actually run when the system is idle because it truly goes idle. The idle thread is made power efficient by using the hlt instruction rather than a busy loop. The new futex(2) system call is used to implement fast user-space mutexes, condition variables, and semaphores. The same backend and design is used as kutexes for truly sleeping kernel mutexes and condition variables. The new exit_thread(2) flag EXIT_THREAD_FUTEX_WAKE wakes a futex. Sleeping on clocks in the kernel now uses timers for true sleep. The interrupt worker thread now truly sleeps when idle. Kernel threads are now named. This is a compatible ABI change. |
||
---|---|---|
.. | ||
addralloc.h | ||
clock.h | ||
copy.h | ||
cpu.h | ||
cpuid.h | ||
decl.h | ||
descriptor.h | ||
dtable.h | ||
elf.h | ||
fcache.h | ||
fsfunc.h | ||
harddisk.h | ||
inode.h | ||
interlock.h | ||
interrupt.h | ||
ioctx.h | ||
ioport.h | ||
kernel.h | ||
keyboard.h | ||
kthread.h | ||
log.h | ||
memorymanagement.h | ||
mtable.h | ||
panic.h | ||
pat.h | ||
pci-mmio.h | ||
pci.h | ||
pipe.h | ||
poll.h | ||
process.h | ||
ps2.h | ||
ptable.h | ||
random.h | ||
refcount.h | ||
registers.h | ||
scheduler.h | ||
segment.h | ||
signal.h | ||
sockopt.h | ||
sortedlist.h | ||
string.h | ||
syscall.h | ||
textbuffer.h | ||
thread.h | ||
time.h | ||
timer.h | ||
user-timer.h | ||
video.h | ||
vnode.h | ||
worker.h | ||
yielder.h |