vs-threading

Microsoft.VisualStudio.Threading是一个xplat库,提供Visual Studio和其他应用程序中使用的许多线程和同步原语。(The Microsoft.VisualStudio.Threading is a xplat library that provides many threading and synchronization primitives used in Visual Studio and other applications.)

Github星跟蹤圖

Microsoft.VisualStudio.Threading

NuGet package
Build Status
Join the chat at https://gitter.im/vs-threading/Lobby

Analyzers: NuGet package

Features

  • Async versions of many threading synchronization primitives
    • AsyncAutoResetEvent
    • AsyncBarrier
    • AsyncCountdownEvent
    • AsyncManualResetEvent
    • AsyncReaderWriterLock
    • AsyncSemaphore
    • ReentrantSemaphore
  • Async versions of very common types
    • AsyncEventHandler
    • AsyncLazy<T>
    • AsyncLazyInitializer
    • AsyncLocal<T>
    • AsyncQueue<T>
  • Await extension methods
    • Await on a TaskScheduler to switch to it.
      Switch to a background thread with await TaskScheduler.Default;
    • Await on a Task with a timeout
    • Await on a Task with cancellation
  • JoinableTaskFactory that allows you to schedule asynchronous or synchronous work
    that does not deadlock with the UI thread even when the UI thread needs to
    synchronously block on the result.

Documentation

Supported platforms

  • .NET 4.5
  • .NET 4.6
  • .NET Standard 1.3
  • .NET Standard 2.0

主要指標

概覽
名稱與所有者microsoft/vs-threading
主編程語言C#
編程語言PowerShell (語言數: 6)
平台Windows
許可證Other
所有者活动
創建於2016-10-05 14:27:26
推送於2025-07-18 07:57:13
最后一次提交
發布數114
最新版本名稱v17.14.15 (發布於 )
第一版名稱release/Dev14RC (發布於 )
用户参与
星數1k
關注者數45
派生數154
提交數5.6k
已啟用問題?
問題數414
打開的問題數100
拉請求數724
打開的拉請求數9
關閉的拉請求數303
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?