How Computers Work
event loop
one thread servicing many sockets
Source board
This definition comes from the board below. Open it to see the term in context.
More terms from this board
- blocking I/Othread parked until data arrives
- bootloader (GRUB)loads the kernel
- busshared wiring (memory bus, PCIe)
- device driverkernel code speaking one device's protocol
- DMAdevice moves data to/from RAM itself, CPU freed
- firmware (BIOS/UEFI)first code at power-on
- I/O-bound vs CPU-boundwaiting on devices vs on compute
- init / systemdPID 1, starts everything
- interrupta device signal that yanks the CPU to a handler
- ISR / interrupt handlerthe code that runs on an interrupt
- memory-mapped I/Odevice registers appear as memory addresses
- non-blocking / async I/Ofire many, poll readiness (epoll/io_uring)
- pollingbusy-asking if a device is ready (wasteful)
- timer interruptthe tick that preempts