Posts of OS
The Event-Listening Implementation
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.
13 January, 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 April, 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 December, 2022
OS
/ 1