POSIX Threads Programming in C
POSIX threads, aka pthreads, provide concurrent control flow within a process. pthreads are explained with an example program.
POSIX threads, aka pthreads, provide concurrent control flow within a process. pthreads are explained with an example program.
POSIX semaphores provide a mechanism for interprocess synchronization. POSIX named and unnamed semaphores are explained with example programs.
System V semaphores provide a mechanism for process synchronization. System V semaphores and associated system calls are explained.
Semaphores provide a mechanism for synchronizing processes and threads. The basics of semaphores are explained with examples.
Any two processes can communicate using FIFOs in Linux. Interprocess communication using FIFOs is explained using a client-server example.
The pipe is a fundamental interprocess communication mechanism in Linux. Interprocess communication using pipes is explained with an example.
fork and exec system calls are used to create new processes to execute programs. fork and exec calls are explained with example programs.
Program, process and threads are important concepts. The definition and relationship between program, process and threads is explained.