Posix Threads – An Introduction

Historically, many independent thread implementations by different hardware vendors were present. This caused portability between different Hardware problematic and a common interface was needed to be standardized. The IEEE POSIX 1003.1c  standard was a step in this direction. Implementations that follow the above standard are termed as POSIX threads (or Pthreads in short). The below […]

Advantages and Disavantages of Threads

Threads have a lot many advantages and a disadvantage as well. The article tries to outline the advantages and disadvantages of using threads in Linux. ADVANTAGES Parallelism and blocking I/O – With Most multi-core systems, threads provide a means of achieving parallelism. If a particular thread is waiting for I/O, another thread can still continue […]

What is Multi-threading?

The Concept of running multiple instances of a certain process can be termed as multi-threading. A Process is the basic block of a running program, the unit of execution of a process is a thread. A process with a single unit of execution is termed a single threaded process and a process that runs more […]

Threads in Linux

A thread is unit of execution of a process. A process can execute multiple threads. The Process that executes only one thread, it is termed as a single threaded process. Multiple threads can be executed by a process and can execute concurrently. Parallel execution of threads is possible on a multi-processor system.   A depiction of […]