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-09-03
Health v2 · maintenance only
92/100
- Activity 100
- Release rhythm 77
- 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-09-03. Adoption (stars, forks) is never an input.
- gap_med: 60.0
- age_days: 3619
- days_rel: 72
- days_push: 0
- n_releases_24m: 5
Adoption not part of the score
1040 stars · 160 forks observed · 2026-09-03
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-09-03 · 7ec28cf8874d
- homepage: https://microsoft.github.io/vs-threading/ · fetched 2026-08-29 · 9e43ae15575f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| microsoft/vs-threading | main | 92 |
For agents
markdown · JSON · MCP: product_card(name="microsoft/vs-threading")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem