---
title: "#mutex articles | Hashnode"
description: "Explore 30 articles tagged #mutex on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/mutex"
---

Tag

# #mutex

30 posts · 0 followers

[ThinkerQAQ](https://hashnode.com/@thinkerqaq) · [Oct 27](https://hashnode.com/posts/concurrency-programming-4-how-mutexes-are-implemented-from-runtime-to-cpu/6ae07f702780de5043ccdcdb)

### [Concurrency Programming (4): How Mutexes Are Implemented — From Runtime to CPU](https://thinkerqaq.hashnode.dev/concurrency-programming-4-how-mutexes-are-implemented-from-runtime-to-cpu?utm_source=hashnode&utm_medium=feed)

Table of Contents 0. What Does This Article Answer Next? 1. How Does HotSpot Implement synchronized? 1.1 Layers 1.2 End-to-End Implementation Path for synchronized 1.3 Guarantees at the Runtime / Lan

11 min read · [thinkerqaq.hashnode.dev](https://thinkerqaq.hashnode.dev/concurrency-programming-4-how-mutexes-are-implemented-from-runtime-to-cpu?utm_source=hashnode&utm_medium=feed)

[Yejun Park](https://hashnode.com/@yejun) · [May 7](https://hashnode.com/posts/deadlocks-dining-philosophers-and-the-art-of-keeping-threads-from-tearing-each-other-apart/69fc28a73d9a9c1019650686)

### [Deadlocks, Dining Philosophers, and the Art of Keeping Threads from Tearing Each Other Apart](https://yejunpark3.hashnode.dev/deadlocks-dining-philosophers-and-the-art-of-keeping-threads-from-tearing-each-other-apart?utm_source=hashnode&utm_medium=feed)

A deep dive into the classic synchronization problems every systems programmer needs to understand

8 min read · [yejunpark3.hashnode.dev](https://yejunpark3.hashnode.dev/deadlocks-dining-philosophers-and-the-art-of-keeping-threads-from-tearing-each-other-apart?utm_source=hashnode&utm_medium=feed)

[Muhammad Yafi Alhakim](https://hashnode.com/@yafialhakim) · [Apr 7](https://hashnode.com/posts/concurrency-the-fearless-threads/69d4dff74650dac7a91de3b5)

### [Concurrency: The "Fearless Threads"](https://yafi.hashnode.dev/concurrency-the-fearless-threads?utm_source=hashnode&utm_medium=feed)

In modern JavaScript, you use Promises (async/await) or Web Workers for "concurrency." In Rust, you have OS-level threads (std::thread). These are much more powerful but also more dangerous in other languages. In Rust, this is called "Fearless Concur...

3 min read · [yafi.hashnode.dev](https://yafi.hashnode.dev/concurrency-the-fearless-threads?utm_source=hashnode&utm_medium=feed)

[Lê Bách Khoa](https://hashnode.com/@lebachkhoa) · [Jan 19](https://hashnode.com/posts/cach-dong-bo-du-lieu-bang-mutex-trong-da-luong/696e2884ce4263bc0c92ecae)

### [Cách đồng bộ dữ liệu bằng Mutex trong đa luồng](https://u40hoccode.dev/cach-dong-bo-du-lieu-bang-mutex-trong-da-luong?utm_source=hashnode&utm_medium=feed)

Tìm hiểu Mutex là gì, cách hoạt động của mutex trong đa luồng. Phân biệt kernel-space mutex (CreateMutex) và user-space mutex (std::mutex, CRITICAL\_SECTION)

4 min read · [u40hoccode.dev](https://u40hoccode.dev/cach-dong-bo-du-lieu-bang-mutex-trong-da-luong?utm_source=hashnode&utm_medium=feed)

[Pranav Patil](https://hashnode.com/@0xpranav) · [Nov 8, 2025](https://hashnode.com/posts/building-a-real-time-websocket-broadcast-server-in-go/690fc556ff4faec706a755ad)

### [💬 Building a Real-Time WebSocket Broadcast Server in Go](https://0xpranav.hashnode.dev/building-a-real-time-websocket-broadcast-server-in-go?utm_source=hashnode&utm_medium=feed)

In this post, I’ll walk you through how I built a real-time WebSocket broadcast server and client in Go — a simple chat system that lets multiple clients connect and exchange messages instantly from the terminal. This project combines: 🧠 Goroutines...

10 min read · [0xpranav.hashnode.dev](https://0xpranav.hashnode.dev/building-a-real-time-websocket-broadcast-server-in-go?utm_source=hashnode&utm_medium=feed)

[Gabor Koos](https://hashnode.com/@gkoos) · [Oct 9, 2025](https://hashnode.com/posts/channels-vs-mutexes-in-go-the-big-showdown/68e84501b7d2bcff67b633db)

### [Channels vs Mutexes In Go - the Big Showdown](https://pocketgopher.hashnode.dev/channels-vs-mutexes-in-go-the-big-showdown?utm_source=hashnode&utm_medium=feed)

A comparison of channels and mutexes in Golang

9 min read · [pocketgopher.hashnode.dev](https://pocketgopher.hashnode.dev/channels-vs-mutexes-in-go-the-big-showdown?utm_source=hashnode&utm_medium=feed)

[박서경](https://hashnode.com/@eumgil) · [Sep 15, 2025](https://hashnode.com/posts/rtos-mutex/68c7ee9aac5d2bb6aed3b6f0)

### [RTOS Mutex](https://psk-study.hashnode.dev/rtos-mutex?utm_source=hashnode&utm_medium=feed)

0) One-line definition Mutex = a lock to protect mutually exclusive critical sections.The key feature is priority inversion prevention (inheritance)—this is what differentiates it from queues/semaphores.Never use it in ISRs. (Task context only) 1) W...

4 min read · [psk-study.hashnode.dev](https://psk-study.hashnode.dev/rtos-mutex?utm_source=hashnode&utm_medium=feed)

[Ashwin](https://hashnode.com/@ashwin0x) · [Aug 22, 2025](https://hashnode.com/posts/understanding-mutex-arc-mutex-rust-thread-safe-mutability/68a8802c71c8d1fb3ee2149b)

### [Understanding Mutex and Arc<Mutex<T>> in Rust: Thread-Safe Mutability](https://blog.ashwin0x.xyz/understanding-mutex-arc-mutex-rust-thread-safe-mutability?utm_source=hashnode&utm_medium=feed)

Learn how to use Mutex and Arc<Mutex<T>> in Rust for thread-safe shared mutable state. Complete guide covering single-threaded vs multi-threaded scenarios.

5 min read · [blog.ashwin0x.xyz](https://blog.ashwin0x.xyz/understanding-mutex-arc-mutex-rust-thread-safe-mutability?utm_source=hashnode&utm_medium=feed)

[Rafal Jackiewicz](https://hashnode.com/@cocofrut) · [Jul 17, 2025](https://hashnode.com/posts/the-c-programmers-guide-to-multithreading-from-concurrency-to-parallelism/68783d199d1d518a110c30fe)

### [The C Programmer's Guide to Multithreading: From Concurrency to Parallelism](https://jackiewicz.hashnode.dev/the-c-programmers-guide-to-multithreading-from-concurrency-to-parallelism?utm_source=hashnode&utm_medium=feed)

Master multithreading in C. This complete guide explains concurrency vs. parallelism from scratch, and teaches you to write fast, thread-safe code.

9 min read · [jackiewicz.hashnode.dev](https://jackiewicz.hashnode.dev/the-c-programmers-guide-to-multithreading-from-concurrency-to-parallelism?utm_source=hashnode&utm_medium=feed)

[Nurul Hasan](https://hashnode.com/@nurulhasan) · [Jul 7, 2025](https://hashnode.com/posts/atomic-habits-vs-the-mutex-mafia/686b93880234eecd2ed45b0e)

### [Atomic Habits vs. The Mutex Mafia](https://goodnotes.hashnode.dev/atomic-habits-vs-the-mutex-mafia?utm_source=hashnode&utm_medium=feed)

Learn how to effectively handle race conditions using \`std::atomic\` and \`std::mutex\` in C++ with practical examples and analogies

11 min read · [goodnotes.hashnode.dev](https://goodnotes.hashnode.dev/atomic-habits-vs-the-mutex-mafia?utm_source=hashnode&utm_medium=feed)
