SchOS/include
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz a4fbdb7437 epoll, eventfd, timerfd, signalfd
The set libwayland's event loop is made of, in kernel/sys/sys_event.c:
four kinds of descriptor with no inode, FD_EVENT, that read() drains
and poll() reports on. They were table entries returning ENOSYS that
read as done.

epoll registers (descriptor, file) pairs, so a closed descriptor
leaves the set; level- and edge-triggered, EPOLLONESHOT. Waiting is
poll()'s, a tick at a time. The old eventfd and signalfd numbers (284,
282) were aliased to the new calls and read flags from a garbage
register; they are their own entries now, with epoll_create and
epoll_pwait.

cmd/evtest checks each, then all four in one set. The plans are
brought up to date: everything Wayland was waiting on is built except
setsockopt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S1giNvrHTrPMPw7V6x1kQ4
2026-10-24 10:59:52 +02:00
..
arch kernel: load at 16 MB, clear of what firmware keeps low 2026-10-24 00:13:53 +02:00
core epoll, eventfd, timerfd, signalfd 2026-10-24 10:59:52 +02:00
dev include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
fs epoll, eventfd, timerfd, signalfd 2026-10-24 10:59:52 +02:00
gfx include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
net include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
uapi include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00