POSIX Threads Programming in C POSIX threads, aka pthreads, provide concurrent control flow within a process. pthreads are explained with an example program. Continue Reading
POSIX semaphores POSIX Semaphores in Linux POSIX semaphores provide a mechanism for interprocess synchronization. POSIX named and unnamed semaphores are explained with example programs. Continue Reading
System V semaphores System V Semaphores in Linux System V semaphores provide a mechanism for process synchronization. System V semaphores and associated system calls are explained. Continue Reading
Semaphore Semaphore Basics Semaphores provide a mechanism for synchronizing processes and threads. The basics of semaphores are explained with examples. Continue Reading
POSIX Message Queues POSIX message queues in Linux POSIX message queue calls for interprocess communication (IPC) between processes are explained with an example of server and client programs in C under Linux. Continue Reading
System V message queues System V message queues in Linux Message queues provide a mechanism for inter-process communication. System V message queues are explained with example client-server programs. Continue Reading
Fifo FIFOs in Linux Any two processes can communicate using FIFOs in Linux. Interprocess communication using FIFOs is explained using a client-server example. Continue Reading
Two processes connected with a pipe Pipes in Linux The pipe is a fundamental interprocess communication mechanism in Linux. Interprocess communication using pipes is explained with an example. Continue Reading
fork and exec in Linux fork and exec system calls in Linux fork and exec system calls are used to create new processes to execute programs. fork and exec calls are explained with example programs. Continue Reading
Penguins Program, Process and Threads Program, process and threads are important concepts. The definition and relationship between program, process and threads is explained. Continue Reading