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.
Posts of OS
The Event-Listening Implementation
Jan 13, 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.
Apr 15, 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.
Dec 5, 2022
OS