Welcome to
Magenic Technologies Community Blog
Sign in
|
Join
|
Help
Jeff Ferguson
proudly annoying fellow Magenic employees since 1996
This Blog
Email
Syndication
RSS 2.0
Atom 1.0
Search
Go
Tags
C++/CLI
Parallel Extensions to the .NET Framework
Sotue
TFS
Twin Cities Code Camp
WPF
Navigation
Home
Blogs
My Reader
Archives
September 2008 (1)
May 2008 (1)
April 2008 (2)
March 2008 (6)
May 2007 (1)
March 2007 (3)
February 2007 (1)
About Me
My Employer, Magenic
My Zune Card
My Xbox 360 Profile
March 2008 - Posts
Monday, March 31, 2008 8:14 PM
Parallel For Loops with Thread Local State
A recent MSDN post contained the following code: string[] entropy_array = { "e", "r", "t", "y", "u", "ı", "o", "p", "ğ", "ü", "a", "s",
Posted by
jefff
|
0 Comments
Filed under:
Parallel Extensions to the .NET Framework
Tuesday, March 18, 2008 12:45 PM
Parallel.ForEach Sample: Fibonacci Numbers
A post on the MSDN Forums recently asked for a sample illustrating the use of Parallel.ForEach() , so I decided to build up a small Fibonacci number calculation sample over my lunch hour. Here it is: class Program { //---------------------------------------------------------------------
Posted by
jefff
|
0 Comments
Filed under:
Parallel Extensions to the .NET Framework
Monday, March 17, 2008 10:57 PM
Dual-Threaded TaskManager on a Single Core
I just ran the following code on a single core machine: static void Main(string[] args) { Task Task1; Task Task2; Action<object> MainAction; TaskManagerPolicy CurrentPolicy; MainAction = ActionMethod; CurrentPolicy = new TaskManagerPolicy(2, 2);
Posted by
jefff
|
0 Comments
Filed under:
Parallel Extensions to the .NET Framework
Wednesday, March 12, 2008 12:26 AM
Aggregated Exceptions
Running code in parallel raises the possibility that more than one exception may be thrown, in parallel, from a single body of code. This means that code written to use the Parallel Extensions needs to account for that possibility. Consider the following
Posted by
jefff
|
0 Comments
Filed under:
Parallel Extensions to the .NET Framework
Tuesday, March 11, 2008 1:16 AM
PFX Dec 2007 CTP: Executing Tasks Sequentially
An MSDN forum post from a couple of months ago (OK, so I am slow) asked if it was possible to schedule a task for execution after a previous task executed. Stephen Toub noted that handling the Completed event on a Task object would be the key to making
Posted by
jefff
|
0 Comments
Filed under:
Parallel Extensions to the .NET Framework
Wednesday, March 05, 2008 10:38 AM
Twin Cities Code Camp: Spring 2008
I wanted to put out an advertisement for the Spring 2008 session of the Twin Cities Code Camp. You can go here for a list of sessions. I will be speaking about the Parallel Extensions to the .NET Framework, and many other excellent sessions are planned
Posted by
jefff
|
0 Comments
Filed under:
Twin Cities Code Camp
,
Parallel Extensions to the .NET Framework