concurrency

Pessimistic Concurrency Control - 2PL

Introduction In today's high-traffic database management systems (DBMS), leveraging the full potential of hardware is essential. With the advent of modern CPUs, the opportunity for parallel processing has increased significantly. However, executing m…

Read article
operating system

Mesa VS Hoare semantics

Introduction While designing multithreaded programs, we need to keep sure that our shared objects are synchronized between all of the running threads. Monitors are used to ensuring this synchronization. A monitor provides the programmer with the abil…

Read article
multithreading

Thread Implementation & Modeling

Threads Implementation Kernel Threads Kernel threads are the simplest type of threads. They are implemented in the operating system kernel itself. It's used to execute the kernel code concurrently. Single-threaded processes with multiple kernel th…

Read article
multithreading

Thread Abstraction

Introduction Our real-world run concurrently, which means that there are many things that happen at the same time. For example, you are reading this blog post while your friend is driving, or maybe he is just sleeping! The fact that you are doing som…

Read article