I have to say - wow. Parallel.for loops? Are you f'n kidding me?! You mean I can just ignore a quarter of my generic task processing and throw it all in a for loop!? Eeek! I just squealed like a girl in my cube!
Is anyone using these yet? What sort of work are you processing with them? Do you enjoy parallel.for loops, are are they just a short cut that is a hassle?
http://msdn.microsof...y/dd728073.aspx
http://msdn.microsof...y/dd470426.aspx
http://msdn.microsof...rallel.for.aspx
http://msdn.microsof...y/dd460703.aspx
Parallel.For Loop == mind blowing!
Page 1 of 15 Replies - 2860 Views - Last Post: 24 August 2011 - 04:36 PM
Replies To: Parallel.For Loop == mind blowing!
#2
Re: Parallel.For Loop == mind blowing!
Posted 21 August 2011 - 08:00 PM
I use threads, tasks, asynch TCP, but not parallel.for loops yet. I'm sure I can find one soon. Thanks for the tutorial.
#3
Re: Parallel.For Loop == mind blowing!
Posted 21 August 2011 - 09:05 PM
No prob. It's saved me some time for my scheduled apps that process huge chunks of data. Go 4.0 framework!
#4
Re: Parallel.For Loop == mind blowing!
Posted 21 August 2011 - 09:46 PM
I like that feature in .NET4.0 and I am going to find time to study it. Nice sharing mod. Lets put it in our cerebellum
#5
Re: Parallel.For Loop == mind blowing!
Posted 22 August 2011 - 02:49 PM
I just emailed my boss and all my co-workers the link to the Parallel.For tutorial under the email heading "A reason we should upgrade to .NET FW 4.0". I currently have to use 3.5
#6
Re: Parallel.For Loop == mind blowing!
Posted 24 August 2011 - 04:36 PM
I've successfully used Parallel.For loops for breaking out processing of rows of pixels within an image. I really enjoy how with minimal work the job is threaded across available resources. As with any other threading component you just have to remember to proxy objects using thread safe methodologies. I had my share of fun working with writablebitmap backbuffers and access restrictions. 
http://msdn.microsof...rrency/bb896007
The 3.5 devlabs release of the parallel toolkit is linked on that page under the heading "Parallel Extensions for .NET 3.5 SP1 on DevLabs" hope this may help
Psyguy, on 22 August 2011 - 02:49 PM, said:
I just emailed my boss and all my co-workers the link to the Parallel.For tutorial under the email heading "A reason we should upgrade to .NET FW 4.0". I currently have to use 3.5 
http://msdn.microsof...rrency/bb896007
The 3.5 devlabs release of the parallel toolkit is linked on that page under the heading "Parallel Extensions for .NET 3.5 SP1 on DevLabs" hope this may help
Page 1 of 1
|
|

New Topic/Question
Reply





MultiQuote




|