task-parallel-library
Tree Hierarchy of WebClient Requests using TPL
I am developing a WPF app in C# where I have an Uri that I want to download Json data. The code will deserialize the downloaded Json data to object, thereafter, the object has a list of Uris that woul[详细]
2023-04-04 17:56 分类:问答c# lock and listen to CancellationToken
I want to use lock or a similar synchronization to prot开发者_如何学Cect a critical section. At the same time I want to listen to a CancellationToken.[详细]
2023-04-04 15:49 分类:问答Is it possible to fail triggering the AppDomain's unhandled exception handler from a Task continuation?
I have a Task which runs asynchronously and handles exceptions using a task continuation task.ContinueWith(t => ..., CancellationToken.None, TaskContinuationOptions.OnlyOnFaulted, taskScheduler).[详细]
2023-04-04 09:49 分类:问答Multithreaded app in multicore environment - weird load per core
Given environment: Xeon processor with 16 cores, OS - Win 2008 server R2. Given application (.Net/C#) before paralleling loads 1 core at almost 100%.[详细]
2023-04-03 15:21 分类:问答Inner task is executed in an unexpected thread
Here is some easy piece of code to show the unexpected behavior: public partial class MainWindow : Window[详细]
2023-04-03 13:49 分类:问答Visual Studio 2010 Cannot Use System.Threading.Tasks;
I am trying to execute some processes in parallel. and it is my first time doing that, upon trying : using System.Threading.Tasks;[详细]
2023-04-03 13:08 分类:问答Simplest way to run three methods in parallel in C#
I have three methods that I call to do some number crunching that are as follows results.LeftFront.CalcAi();[详细]
2023-04-02 14:05 分类:问答Task with event notification - .net 4
Yesterday on SO, i saw a thread asking for a code which some what does this way. I mean, you (manager thread) start number of tasks using TPL APIs and once they are completed job, that thread should n[详细]
2023-04-02 12:20 分类:问答Silverligh 5 SDK RC + Async CTP : make it work
Just installed the Silverligh 5 SDK RC. There is a problem using it inside a project that uses the Async CTP.[详细]
2023-04-02 09:35 分类:问答Continuing several tasks
I am using TPL to perform two tasks serially on a background thread in an MVVM app. While the tasks are running, the app displays a Progress dialog. So, my MVVM command\'s Execute() method first raise[详细]
2023-04-02 09:09 分类:问答