Articles Tagged “Multithreading”
4 articles tagged “Multithreading”, newest first.
-
Practical Multithreading Best Practices: Java Edition — Conventions for the Virtual Thread Era
In Java, the established practice for multithreading is never to create threads directly but to build on ExecutorService and virtual threads. This article se...
-
Practical Multithreading Best Practices: C Edition — Writing Safely the Win32 API Way
The established approach to multithreading in C with Win32 is thread creation via _beginthreadex, SRW locks and condition variables, Interlocked functions, a...
-
Practical Multithreading Best Practices: C++ Edition — Eliminating Accidents by Structure with RAII and jthread
In C++, multithreading is a world where a data race is undefined behaviour. This article works through the std::thread destructor trap, designing stop mechan...
-
Practical Multithreading Best Practices: .NET Edition — What to Decide Before You Add More Threads
A practical rundown of the design rules that keep multithreaded .NET/C# code from occasionally crashing or hanging: ride on Task instead of creating threads ...