Recent posts

pthreads

pthreads stands for POSIX Threads which is the de facto standard threading related API that operating systems need to support for thread managements. Almost ...

Threads and Concurrency

A traditional process has a single execution context that can only execute at one CPU at a given point of time. If a process can have multiple execution cont...

Processes

Definition A process is an instance of an executing program. It is also referred to as a “task” or “job”.

Operating System Overview

Definition An operating system, or OS, is just a software that abstracts and arbitrates the underlying hardware components in computer systems.

Python Descriptors

A descriptor in Python is a class attribute which defines any of the special methods: __get__(self, obj, owner=None) -> value __set__(self, obj, valu...

Timsort

Most programmers would be familiar with some fundamental sorting algorithms such as bubble sort, selection sort, insertion sort, and merge sort. Then which a...