Jun 19Understanding Python's GIL: The Problems It Solves and the Limits It ImposesJun 199 min readThe GIL is not just why Python threads can't use multiple cores. It is CPython's engineering trade-off among refcounting, the object model, and C extensions.
Mar 28Process Scheduling in OSMar 284 min readNotes on process scheduling triggers, evaluation metrics, and common algorithms such as FCFS, SJF, RR, MLFQ, EDF, and LLF.
Mar 13ThreadMar 138 min readThreads as the basic unit of scheduling, thread control, synchronization with mutexes, condition variables, and semaphores, and ULT vs KLT.
Mar 09Concurrency & Parallelism Etc.Mar 092 min readNotes on concurrency, parallelism, CPU cores, hardware threads, processes, and threads in operating systems.