Showing results for TPL - Developer Support

Nov 30, 2017
2
10

Dissecting the async methods in C#

Sergey Tepliakov
Sergey Tepliakov

The async series The C# language is great for developer's productivity and I'm glad for the recent push towards making it more suitable for high-performance applications. Here is an example: C# 5 introduced 'async' methods. The feature is very useful from a user's point of view because it helps combining several task-based ...

seteplia
Dec 20, 2016
0
0

Dissecting the ActionBlock: a Short Story About a Nasty Deadlock

Sergey Tepliakov
Sergey Tepliakov

I think almost every project in the real world uses some form of producer-consumer queue. The idea behind this problem is very simple. Application needs to decouple consumers of some data from the logic that processes it. Consider, for instance, the thread pool from the CLR: application can schedule some work using ThreadPool.QueueUserWorkItem and ...

seteplia