x64 Assembly MultiThreading 3: Mutexes, SpinLocks and Critical Sections @WhatsACreel
x64 Assembly MultiThreading 3: Mutexes, SpinLocks and Critical Sections  @WhatsACreel
Uploaded February 2015 | Updated September 2026, 2 weeks ago
This video we'll be implementing a Critical Section with a Mutex acting in a SpinLock. The three topics are very closely related, and although it's a lot of information, I think it's best to tackle all three topics in a single video.

My goal is to point out the slight differences between the three terms, and explain how they interact. Then we implement a Critical Section in ASM and see that it is faster than using LOCK all the time.

Become a patron and support What's a Creel programming vids on Patreon:
patreon.com/whatsacreel

FaceBook:
facebook.com/pages/WhatsaCreel/167732956665435
x64 Assembly MultiThreading 3: Mutexes, SpinLocks and Critical SectionsReusing Headers and Source Code in C++Direct2D Tutorial 8: Loading an Imagex64 Assembly Tutorial 61: AVX Negate 128bpp ImageNVIDIA CUDA Tutorial 5: Memory OverviewC++ Tutorial 24: Stringizing and ConcatenationFloating Point Bit Hacks Every Programmer Should Know (Including Fast Inverse Square Root - Quake)Answering Basic Assembly Language Questions - Assembly Language for BeginnersAre CPUs Getting Faster? (2009 AMD Phenom II vs 2018 Intel i7 8750H - Phenom 2 Benchmark)Direct2D Tutorial 6: Real Time Game LoopFixed Point Arithmetic 1: Intro to Fixed PointC++ Tutorial 5: While and Do While Loops
Creel |

x64 Assembly MultiThreading 3: Mutexes, SpinLocks and Critical Sections

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER