Tag - OS

Posts of OS

The event-listening implementation

13 January, 2024

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.

Resource Lock in Concurrency

15 April, 2023

Analysis and usage scenarios of spin lock, optimistic lock, pessimistic lock, read-write lock, mutex lock and other concepts.

Operating System Notes: Two Methods of Multiprocessor Scheduling

5 December, 2022

An introduction to two methods of multiprocessor scheduling is given: symmetric multiprocessing and asymmetric multiprocessing.

/ 1