This article explores the essence of event handlers as callback functions, relinquishing control to event initiators. Events are obtained through either polling or operating system-assisted methods like blocking calls. The operating system serves as an event callback system, handling interrupts, and integrating callbacks into event loops.
OS
The Event-Listening Implementation
13 Jan, 2024
OS
Resource Lock in Concurrency
Analysis and usage scenarios of spin lock, optimistic lock, pessimistic lock, read-write lock, mutex lock and other concepts.
15 Apr, 2023
OS
Operating System Notes: Two Methods of Multiprocessor Scheduling
An introduction to two methods of multiprocessor scheduling is given: symmetric multiprocessing and asymmetric multiprocessing.
5 Dec, 2022
OS