DIFF.BLOG
New Following Discover Jobs
More
Top Writers Suggest a blog Upvotes plugin
Report bug Contact About Privacy
Sign up
Topics
Follow your own topics →
Menu
New Following Discover Jobs Top Writers
More
Suggest a blog Upvotes plugin Report bug Contact About
Sign up
Privacy Policy
The home for great developer writing.
We surface the best developer writing from thousands of independent blogs, updated daily.
Join Diff.blog
TOPICS

Understanding Lazy<T> thread safety modes

· · Nov. 3, 2026, 10:37 a.m.
.NET Core C++ software development Thread Safety Lazy<T>
Summary
This post explores the various `LazyThreadSafetyMode` values in C# and discusses how they interact with the `Lazy<T>` class, specifically focusing on exception handling across different modes.
Read full post on andrewlock.net →
MORE POSTS LIKE THIS
Prospero: a new coding harness for a more civilized age
Christopher Wellons · Oct 31, 2026
AI Open Source
The Problem with C++ Safety (Part 2): Modern C++ Is a Mindset, Not a Standard
Modernescpp · Nov 1, 2026
Safety C++
A slightly better ThreadPoolExecutor in Pystd through types
Martin Cracauer · Oct 30, 2026
Python C++
Vote to adopt the C++26 draft as the new ISO standard fails
Shape Of Code · Nov 2, 2026
bored consultant committee
C++26 Ranges: Parallel Algorithms and Safer Filters
Sandordargo · Oct 28, 2026
Dev C++
C++/WinRT overcorrection: Using make_self and immediately converting it to the projected interface
Raymond Chen · Oct 28, 2026
Old New Thing Code
Discover more posts →
AUTHOR
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub Continue with Google
By continuing, you agree to our Privacy Policy.