microsoft/vs-threading
The Microsoft.VisualStudio.Threading is a xplat library that provides many threading and synchronization primitives used in Visual Studio and other applications. observed · 2026-10-22
Health v2 · maintenance only
90/100
- Activity 100
- Release rhythm 70
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-22. Adoption (stars, forks) is never an input.
- gap_med: 60.0
- age_days: 3668
- days_rel: 121
- days_push: 1
- n_releases_24m: 5
Adoption not part of the score
1040 stars · 162 forks observed · 2026-10-22
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Microsoft.VisualStudio.Threading is a cross-platform .NET library providing async synchronization primitives, async collections, and TPL/dataflow extensions, including the JoinableTaskFactory for safely blocking the UI thread on async work. It ships with a companion Roslyn analyzer package that detects common threading and async coding mistakes.
Use cases
- safely block the UI thread while awaiting async work
- avoid deadlocks when mixing sync and async code in .NET
- use async-aware locks and synchronization primitives
- detect async/await threading mistakes at compile time
- manage async operations across UI and background threads
- write thread-safe async collections and dataflow pipelines
When to choose
- building .NET desktop or UI applications with async code that must interact with the UI thread
- you need battle-tested async synchronization primitives with static analysis
- maintaining Visual Studio extensions or similar IDE tooling
When to avoid
- writing simple backend or console apps where standard Task and SemaphoreSlim suffice
- non-.NET platforms or languages
- you want a lightweight dependency-free threading utility
Facets
library · maturity stable
concurrency developer-tools developer-tools cross-platform dotnet cross-platform async threading synchronization-primitives ui-thread roslyn-analyzers csharp nuget
2 sources
- readme: https://github.com/microsoft/vs-threading · fetched 2026-10-22 · 7ec28cf8874d
- homepage: https://microsoft.github.io/vs-threading/ · fetched 2026-08-29 · 9e43ae15575f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| microsoft/vs-threading | main | 90 |
For agents
markdown · JSON · MCP: product_card(name="microsoft/vs-threading")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem