Microsoft.VisualStudio.Threading 17.12.19

Microsoft.VisualStudio.Threading

Async synchronization primitives, async collections, TPL and dataflow extensions. The JoinableTaskFactory allows synchronously blocking the UI thread for async work. This package is applicable to any .NET application (not just Visual Studio).

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.

Showing the top 20 packages that depend on Microsoft.VisualStudio.Threading.

Packages Downloads
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
51
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
44
Microsoft.VisualStudio.Threading.Analyzers
Static code analyzer to detect common mistakes or potential issues on the C# code that uses Visual Studio SDK APIs.
44
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
41
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
40
Microsoft.VisualStudio.Threading.Analyzers
Static code analyzer to detect common mistakes or potential issues on the C# code that uses Visual Studio SDK APIs.
40
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
39
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
38
Microsoft.VisualStudio.Threading.Analyzers
Static code analyzer to detect common mistakes or potential issues on the C# code that uses Visual Studio SDK APIs.
38
Nerdbank.Streams
Streams for full duplex in-proc communication, wrap a WebSocket, split a stream into multiple channels, etc.
36
Microsoft.VisualStudio.Threading.Analyzers
Static code analyzer to detect common mistakes or potential issues on the C# code that uses Visual Studio SDK APIs.
35

Version Downloads Last updated
17.12.19 2 11/18/2024
17.11.20 16 8/14/2024
17.11.19-preview 19 7/3/2024
17.10.48 13 5/5/2024
17.10.41 12 5/31/2024
17.10.12-preview 14 5/5/2024
17.9.28 16 2/23/2024
17.9.1-alpha 19 12/8/2023
17.8.14 25 11/24/2023
17.7.35 23 11/18/2023
17.7.30 39 8/24/2023
17.7.1-preview 34 8/7/2023
17.6.40 33 5/19/2023
17.5.22 31 3/26/2023
17.5.21 30 5/19/2023
17.5.10-alpha 31 2/28/2023
17.4.33 31 3/15/2023
17.4.27 36 12/10/2022
17.3.48 33 12/10/2022
17.3.44 39 9/21/2022
17.3.1-alpha 32 9/21/2022
17.2.32 43 7/3/2022
17.2.20-alpha 30 7/3/2022
17.1.46 42 7/3/2022
17.0.64 52 7/3/2022
17.0.63 36 7/3/2022
17.0.46-alpha 35 7/3/2022
17.0.32-alpha 31 7/3/2022
17.0.26-alpha 40 7/3/2022
17.0.17-alpha 29 7/3/2022
17.0.15-alpha 36 7/3/2022
17.0.13-alpha 30 7/3/2022
16.10.56 35 7/3/2022
16.10.51-alpha 34 7/3/2022
16.9.60 29 7/3/2022
16.9.54 34 7/3/2022
16.9.51 30 7/3/2022
16.9.45-alpha 35 7/3/2022
16.8.55 34 7/3/2022
16.8.51 36 7/3/2022
16.8.50 37 7/3/2022
16.7.56 36 7/3/2022
16.7.54 39 7/3/2022
16.6.13 50 7/3/2022
16.5.132 36 7/3/2022
16.5.124-alpha 35 7/3/2022
16.5.119-alpha 36 7/3/2022
16.5.108-alpha 41 7/3/2022
16.4.45 33 7/3/2022
16.4.43 36 7/3/2022
16.4.39 43 7/3/2022
16.4.33 46 7/3/2022
16.4.16 40 7/3/2022
16.3.59 43 7/3/2022
16.3.52 28 7/3/2022
16.3.13 34 7/3/2022
16.3.1-alpha 35 7/3/2022
16.0.102 40 7/3/2022
16.0.96-beta 28 7/3/2022
16.0.82-beta 48 7/3/2022
15.8.209 41 7/3/2022
15.8.192 37 7/3/2022
15.8.168 42 7/3/2022
15.8.145 31 7/3/2022
15.8.132 36 7/3/2022
15.8.122 47 7/3/2022
15.8.99-rc 33 7/3/2022
15.8.95-rc 34 7/3/2022
15.8.81-beta 29 7/3/2022
15.8.72-beta 51 7/3/2022
15.8.47-beta 44 7/3/2022
15.8.46-beta 35 7/3/2022
15.7.23 33 7/3/2022
15.7.21 38 7/3/2022
15.7.18 34 7/3/2022
15.7.17 37 7/3/2022
15.7.15-preview 40 7/3/2022
15.6.56 29 7/3/2022
15.6.46 29 7/3/2022
15.6.44 36 7/3/2022
15.6.31 30 7/3/2022
15.6.11-beta 44 7/3/2022
15.5.32 37 7/3/2022
15.5.24 37 7/3/2022
15.5.13-beta 43 7/3/2022
15.5.11-beta 28 7/3/2022
15.5.5-beta 33 7/3/2022
15.4.4 33 7/3/2022
15.3.83 27 7/3/2022
15.3.35 39 7/3/2022
15.3.23 32 7/3/2022
15.3.20 32 7/3/2022
15.2.5 40 7/3/2022
15.0.240 42 7/3/2022
15.0.116-pre 34 7/3/2022
15.0.109-pre 32 7/3/2022
15.0.83-pre 56 7/3/2022
15.0.49-pre 43 7/3/2022
15.0.20-pre 37 7/3/2022
15.0.18-pre 35 7/3/2022
14.1.131 32 7/3/2022
14.1.114 38 7/3/2022
14.1.111 44 7/3/2022
14.0.51107 31 7/3/2022
14.0.51103 28 7/3/2022
14.0.50702 36 7/3/2022
14.0.50522-pre 27 7/3/2022
14.0.50417-pre 36 7/3/2022
12.2.0 42 7/3/2022
12.0.0 43 7/3/2022