Tagged articles
10 articles
Page 1 of 1
Deepin Linux
Deepin Linux
Feb 2, 2026 · Fundamentals

Mastering Linux IPC: Pipes, Message Queues, Shared Memory, Semaphores, Signals & Sockets Explained

This comprehensive guide breaks down Linux inter‑process communication (IPC) by explaining its core concepts, why it’s needed, and detailing six mechanisms—pipes, named pipes, message queues, shared memory, semaphores/PV operations, signals, and sockets—complete with code samples, diagrams, and real‑world usage scenarios.

C programmingIPCSockets
0 likes · 49 min read
Mastering Linux IPC: Pipes, Message Queues, Shared Memory, Semaphores, Signals & Sockets Explained
Liangxu Linux
Liangxu Linux
Dec 11, 2024 · Fundamentals

Master Linux Inter‑Process Communication: Pipes, Signals, Shared Memory & More

This guide explains Linux inter‑process communication (IPC) mechanisms—including anonymous and named pipes, signals, file‑based communication, semaphores, various shared‑memory techniques, message queues, TCP/UDP sockets, and Unix domain sockets—providing concepts, typical use cases, and complete C code examples for each method.

IPClinuxmessage queues
0 likes · 32 min read
Master Linux Inter‑Process Communication: Pipes, Signals, Shared Memory & More
Linux Kernel Journey
Linux Kernel Journey
Nov 3, 2024 · Fundamentals

Linux Kernel Source Walkthrough: The Five Core Subsystems

This article explains the Linux kernel architecture, breaks it into three layers and five key subsystems—process scheduling, memory management, virtual file system, network interface, and inter‑process communication—detailing their responsibilities, inter‑dependencies, and providing concrete code examples and diagrams.

IPCMemory Managementkernel
0 likes · 29 min read
Linux Kernel Source Walkthrough: The Five Core Subsystems
Ops Development & AI Practice
Ops Development & AI Practice
May 6, 2024 · Fundamentals

Mastering Semaphores: How to Safely Synchronize Threads in Multithreaded Apps

Semaphores, introduced by Dijkstra, are powerful synchronization primitives that manage concurrent thread access to shared resources through atomic P (wait) and V (signal) operations, offering flexibility and deadlock avoidance while posing challenges like complex state management and performance overhead.

Synchronizationmultithreadingprogramming fundamentals
0 likes · 5 min read
Mastering Semaphores: How to Safely Synchronize Threads in Multithreaded Apps
Deepin Linux
Deepin Linux
Apr 13, 2024 · Fundamentals

Understanding POSIX: Concepts, Network APIs, and Semaphore Programming in C

This article explains the POSIX standards, their role in providing portable Unix-like system interfaces, demonstrates network client‑server programming with POSIX sockets, analyzes key socket functions and the TCP three‑way handshake, and introduces POSIX named and unnamed semaphores with example code for synchronization and producer‑consumer patterns.

CNetwork programmingPOSIX
0 likes · 26 min read
Understanding POSIX: Concepts, Network APIs, and Semaphore Programming in C
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 24, 2020 · Fundamentals

Common Interprocess Communication Methods in Linux

This article introduces several Linux interprocess communication mechanisms—including pipes, message queues, shared memory, semaphores, signals, and sockets—explaining their principles, advantages, drawbacks, and typical usage scenarios for developers preparing for system‑level programming or interviews.

IPCSocketslinux
0 likes · 7 min read
Common Interprocess Communication Methods in Linux