Quantcast
Channel: Blog of Colin Angus Mackay » Parallelisation Talk Examples
Browsing all 10 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Parallelisation Talk Example – Parallel.Invoke

Parallel.Invoke is the most basic way to start many tasks as the same time. The method takes as many Action<…> based delegates as needed. The Task Parallel Library takes care of the actual...

View Article



Image may be NSFW.
Clik here to view.

Prallelisation Talk Example – Tasks within Tasks

In this example I’m showing the launching of further tasks within an existing task. The Main method launches a single task (of course, it would likely be many tasks in a real system) which is...

View Article

Image may be NSFW.
Clik here to view.

Parallelisation talk example – Independent Object Graphs

Parallelised code works best when data is not shared. This example shows a simple piece of parallel code where each task operates independently on its own object graph without dependencies on other...

View Article

Image may be NSFW.
Clik here to view.

Parallelisation Talk Example – Aggregate Exceptions

The two code examples here show what happens when exceptions are thrown within tasks that are not handled within the task. In each case the task that has the error throws an exception. In the first...

View Article

Image may be NSFW.
Clik here to view.

Scottish Developers Parallelisation Talk Overview

Here are all the examples from this evening’s introductory talk on Parallelisation at Scottish Developers. Starting tasks Parallel.Invoke example Parallel.For example Parallel.ForEach example Basic...

View Article


Image may be NSFW.
Clik here to view.

DDD Scotland Parallelisation Talk Overview

Follow Up I was asked a question during the talk I wasn’t immediately able to answer which I’ve now found the definite answer. What happens to parallel tasks running in the background when the...

View Article

Image may be NSFW.
Clik here to view.

Parallelisation Talk examples – Cancelling Tasks

This example showed what happens when tasks are cancelled. In this example, some tasks will be able to run to completion, others will be cancelled and other won’t even get a chance to start because the...

View Article

Image may be NSFW.
Clik here to view.

DDD South West Parallelisation Talk Overview

Examples Here are all the examples from Saturday’s introductory talk on Parallelisation at DDD South West 2011. Starting tasks Parallel.Invoke example Parallel.For example Parallel.ForEach example...

View Article


Image may be NSFW.
Clik here to view.

DDD Belfast Parallelisation Talk

Examples Here are all the examples from Saturday’s introductory talk on Parallelisation at DDD Belfast. Starting tasks Parallel.Invoke example Parallel.For example Parallel.ForEach example Basic PLINQ...

View Article


Image may be NSFW.
Clik here to view.

Aberdeen Developers – Introduction to Parallelisation

Examples Here are all the examples from Thursday evening’s introductory talk on Parallelisation at the Aberdeen Developers User Group. Starting tasks Parallel.Invokeexample Parallel.Forexample...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images