One of the primary reasons we've released CTPs of Parallel Extensions is to solicit feedback on the design and functionality it provides. Does it provide all of the APIs you need to get your job done? Are there scenarios you wished the APIs supported and that you need to work around in klunky ways? And so forth. We've ...
In the June 2008 CTP of Parallel Extensions to the .NET Framework, we introduced the ContinueWith method on both Task and Future<T>. ContinueWith is, in effect, a callback, very much like events in .NET. With events, a causal action results in the event being raised, which by default triggers all of the delegates registered ...
When I was at TechEd 2008 Developer last week, I met up with the great Dan Fernandez from Channel 9 to show off Parallel Extensions and to demonstrate some of the sample applications included with our June 2008 CTP. The cameras were at the ready, so you can see the demonstrations, too:
Thanks, Dan...
Continuing the tour of the samples included in the Parallel Extensions June 2008 CTP, we now turn our attention to the "Image Colorizer" application.
This sample uses the following constructs from Parallel Extensions:
System.Threading.Parallel.For()
and also the following from the standard .NET libraries:
System.ComponentModel....
Charles from Channel 9 came over to building 112 last week for an in-depth look at what's new in the June 2008 CTP of Parallel Extensions. We spoke on the subject for an hour and a half or so, which you can see in a two-part series that was posted to Channel 9 yesterday (by the way, Channel 9 team, the new site looks great!): What...
Since the release of the December 2007 CTP of Parallel Extensions, we've received several questions about whether Parallel Extensions can be used from C++/CLI. In short, yes, it can! (It can be used with any .NET language, one of the beauties of this functionality being provided through a library.) To demonstrate, we included in ...
The June 2008 Community Technology Preview (CTP) of Parallel Extensions to the .NET Framework was released on Monday, and we’re really pleased at the level of excitement in the community that we’re seeing in response. As part of the CTP, we included a variety of demos and samples to help provide a tour of the functionality.&...
We've just released a new community technology preview (CTP) of Parallel Extensions to the .NET Framework! You can download it from https://www.microsoft.com/downloads/details.aspx?FamilyId=348F73FD-593D-4B3C-B055-694C50D2B0F3. This release contains a plethora of bug fixes as well as some design changes to address some great ...
The Parallel.For/ForEach loop constructs included in Parallel Extensions support a variant of thread-local state to aid in efficiently passing data between loop iterations. Consider one such overload of Parallel.For:
public static void For<TLocal>( int fromInclusive, int toExclusive, Func<TLocal> threadLocalInit, ...
A few weeks ago, I presented on Parallel Extensions to the .NET Framework at the 6th annual Microsoft Financial Services Developer Conference (the decks from the conference are now available online). I had a great time and a great audience, and during the presentation on Thursday I received some good questions. Here are some of ...