Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in task-parallel-library

What is the preferred way to get code to execute in a WPF GUI thread?

Graceful exit from BlockingCollection.TakeFromAny when adding to collections completed

C# Parallel.foreach - Making variables thread safe

Is it safe to use lock() with Tasks?

Running a CPU-intensive method inside multiple tasks only using a small portion of CPU?

Thread or Task for long running operation

Tail recursion with tasks?

Is there a way to use out parameter in async method.? If not can anyone suggest me how to return the OUT Parameter from a async method?

MaxDegreeOfParallelism = 2 shows 3 threads

Foreach loop and variables with locking

c# task-parallel-library

WhenAll() not working as expected

Parallel Foreach and Actions

c# task-parallel-library

use Task.Run() inside of Select LINQ method

Providing cancellation if polling CancellationToken is not possible

Crash course in simple threading?

Log file not created inside Task.Factory.StartNew()

How to TPL determine the number of threads to use?

c# task-parallel-library

Is it possible to fail triggering the AppDomain's unhandled exception handler from a Task continuation?

c# task-parallel-library

Inheriting Task class in C# 4.0

Returning exception from try/catch within Task.Run C#