1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00
sortix--sortix/libc/sys
Jonas 'Sortie' Termansen 5e7605fad2 Implement threading primitives that truly sleep.
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.
2021-06-23 22:10:47 +02:00
..
display Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
dnsconfig Add getdnsconfig(2) and setdnsconfig(2). 2021-06-13 23:27:52 +02:00
futex Implement threading primitives that truly sleep. 2021-06-23 22:10:47 +02:00
ioctl Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
kernelinfo Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
mman Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
mount Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
readdirents Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
resource Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
select Fix select(2) buffer overflow if the fd_set is smaller than normal. 2017-04-09 22:44:32 +02:00
socket Allow AF_UNSPEC family in socketpair(2). 2017-08-26 16:49:57 +02:00
stat Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
statvfs Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
termmode Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
time Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
times Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
uio Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
utsname Remove uname -i and -o options. 2016-05-15 22:43:29 +02:00
wait Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00