Skip to content

Commit b807c1d

Browse files
authored
Merge pull request #1212 from AArnott/README
Update and restructure README
2 parents 15e70c6 + 1fb7909 commit b807c1d

File tree

3 files changed

+53
-43
lines changed

3 files changed

+53
-43
lines changed

README.md

Lines changed: 20 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,24 @@
1-
Microsoft.VisualStudio.Threading
2-
=================================
1+
# vs-threading
32

4-
[![NuGet package](https://img.shields.io/nuget/v/Microsoft.VisualStudio.Threading.svg)](https://nuget.org/packages/Microsoft.VisualStudio.Threading)
53
[![Build Status](https://dev.azure.com/azure-public/vside/_apis/build/status/vs-threading)](https://dev.azure.com/azure-public/vside/_build/latest?definitionId=12)
64
[![Join the chat at https://gitter.im/vs-threading/Lobby](https://badges.gitter.im/vs-threading/Lobby.svg)](https://gitter.im/vs-threading/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
75

8-
Analyzers: [![NuGet package](https://img.shields.io/nuget/v/Microsoft.VisualStudio.Threading.Analyzers.svg)](https://nuget.org/packages/Microsoft.VisualStudio.Threading.Analyzers)
9-
10-
## Features
11-
12-
* Async versions of many threading synchronization primitives
13-
* `AsyncAutoResetEvent`
14-
* `AsyncBarrier`
15-
* `AsyncCountdownEvent`
16-
* `AsyncManualResetEvent`
17-
* `AsyncReaderWriterLock`
18-
* `AsyncSemaphore`
19-
* `ReentrantSemaphore`
20-
* Async versions of very common types
21-
* `AsyncEventHandler`
22-
* `AsyncLazy<T>`
23-
* `AsyncLazyInitializer`
24-
* `AsyncLocal<T>`
25-
* `AsyncQueue<T>`
26-
* Await extension methods
27-
* Await on a `TaskScheduler` to switch to it.
28-
Switch to a background thread with `await TaskScheduler.Default;`
29-
* Await on a `Task` with a timeout
30-
* Await on a `Task` with cancellation
31-
* `JoinableTaskFactory` that allows you to schedule asynchronous or synchronous work
32-
that does not deadlock with the UI thread even when the UI thread needs to
33-
synchronously block on the result.
34-
35-
## Documentation
36-
37-
* [Overview documentation](doc/index.md)
38-
* [Diagnostic analyzer rules](doc/analyzers/index.md)
39-
40-
## Supported platforms
41-
42-
* .NET 4.5
43-
* .NET 4.6
44-
* .NET Standard 1.3
45-
* .NET Standard 2.0
46-
47-
[1]: https://nuget.org/packages/Microsoft.VisualStudio.Threading "Microsoft.VisualStudio.Threading NuGet package"
6+
## Microsoft.VisualStudio.Threading
7+
8+
[![NuGet package](https://img.shields.io/nuget/v/Microsoft.VisualStudio.Threading.svg)](https://nuget.org/packages/Microsoft.VisualStudio.Threading)
9+
10+
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).
11+
12+
[Overview documentation](doc/index.md).
13+
14+
[See the full list of features](src/Microsoft.VisualStudio.Threading/README.md).
15+
16+
## Microsoft.VisualStudio.Threading.Analyzers
17+
18+
[![NuGet package](https://img.shields.io/nuget/v/Microsoft.VisualStudio.Threading.Analyzers.svg)](https://nuget.org/packages/Microsoft.VisualStudio.Threading.Analyzers)
19+
20+
Static code analyzer to detect common mistakes or potential issues regarding threading and async coding.
21+
22+
[Diagnostic analyzer rules](doc/analyzers/index.md).
23+
24+
[See the full list of features](src/Microsoft.VisualStudio.Threading.Analyzers.CodeFixes/README.md).
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Microsoft.VisualStudio.Threading.Analyzers
2+
3+
Static code analyzers to detect common mistakes or potential issues regarding threading and async coding.
4+
5+
[Diagnostic analyzer rules](https://github.com/microsoft/vs-threading/blob/main/doc/analyzers/index.md).
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Microsoft.VisualStudio.Threading
2+
3+
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).
4+
5+
## Features
6+
7+
* Async versions of many threading synchronization primitives
8+
* `AsyncAutoResetEvent`
9+
* `AsyncBarrier`
10+
* `AsyncCountdownEvent`
11+
* `AsyncManualResetEvent`
12+
* `AsyncReaderWriterLock`
13+
* `AsyncSemaphore`
14+
* `ReentrantSemaphore`
15+
* Async versions of very common types
16+
* `AsyncEventHandler`
17+
* `AsyncLazy<T>`
18+
* `AsyncLazyInitializer`
19+
* `AsyncLocal<T>`
20+
* `AsyncQueue<T>`
21+
* Await extension methods
22+
* Await on a `TaskScheduler` to switch to it.
23+
Switch to a background thread with `await TaskScheduler.Default;`
24+
* Await on a `Task` with a timeout
25+
* Await on a `Task` with cancellation
26+
* `JoinableTaskFactory` that allows you to schedule asynchronous or synchronous work
27+
that does not deadlock with the UI thread even when the UI thread needs to
28+
synchronously block on the result.

0 commit comments

Comments
 (0)