StrataFrame Forum

Parallel Extensions to the .NET framework 3.5 CTP

http://forum.strataframe.net/Topic12904.aspx

By Geoff Hirst - 12/4/2007

Chaps,

Microsoft have released a CTP called Parallel Extensions to the .NET framework 3.5 CTP which is to ease the ability to take advantage of multi-processor or multi-core computing environments.

I am thinking of trying out this library, even though its still only a CTP, does anyone have any perceptions of issues that I may hit while using it in conjunction with Strataframe, or should I just not try it yet?

thanks

Geoff

By StrataFrame Team - 12/6/2007

I haven't used it personally, but I have read some about it; there were a few articles in the last issue of the MSDN magazine.  The only words of caution that I have are to be very familiar with Control.Invoke() because any time you're on a background thread and you want to talk to the main thread, you'll have to invoke on a control that belongs to the main thread or you'll get a CrossThreadException (I think it's actually an IllegalOperationException with a cross-thread message, I can't remember).  WPF controls have the same Invoke() method through the DispatcherObject.Dispatcher property.

Also, that module might be tightly coupled with LINQ for parallel queries, and we don't currently support LINQ within StrataFrame, so you might have to explicitly run the queries.