Loading...

Using .Net Parallel Extensions, PLINQ, AForge.Net and delegates in C#

5,417 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Mar 3, 2009

This video uses C#, .Net Parallel Extensions CTP, PLINQ, delegates and AForge.Net to create an amazing multicore application. Watching this video you will find out that there is a lot of power in .Net Parallel Extensions to work with a blob counter taking full advatange of the available cores. Developers must tackle the multicore revolution to exploit multicore CPUs in new applications. .Net Parallel Extensions include many new features. A new book from Packt explains .Net Parallel Extensions and PLINQ, and acts as a guide to building scalable, high performance applications using parallel programming with C# has been published. Written by Gastón C. Hillar, C# 2008 and 2005 Threaded Programming: Beginner's Guide will help users develop applications that run several tasks, and manage parallelized processes and threads.
The application shown in the video is developed and explained in Chapter 11: Coding with .NET Parallel Extensions. This is the chapter's table of contents:
Parallelizing loops using .NET extensions
Time for action Downloading and installing the .NET Parallel Extensions
No silver bullet
Time for action Downloading and installing the imaging library
Time for action Creating an independent class to run in parallel without
side effects
Counting and showing blobs while avoiding side effects
Time for action Running concurrent nebula finders using a
parallelized loop
Using a parallelized ForEach loop
Coding with delegates in parallelized loops
Working with a concurrent queue
Controlling exceptions in parallelized loops
Time for action Showing the results in the UI
Combining delegates with a BackgroundWorker
Retrieving elements from a concurrent queue in a producer-consumer scheme
Time for action Providing feedback to the UI using a producer-consumer
scheme
Creating an asynchronous task combined with a synchronous parallel loop
Time for action Invoking a UI update from a task
Providing feedback when each job is finished
Using lambda expressions to simplify the code
Parallelizing loops with ranges
Parallelizing queries
Time for action Parallelized counter
Parallelizing LINQ queries with PLINQ
Specifying the degree of parallelism for PLINQ
Parallelizing statistics and multiple queries
Summary

For more information visit: http://www.packtpub.com/beginners-gui...

For more information about AForge.NET, visit: http://www.aforgenet.com

Loading...

When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...