[dba-VB] where is the Parallel library

jwcolby jwcolby at colbyconsulting.com
Sat Sep 15 09:56:39 CDT 2012


Yep.  Tons of articles out there says you need a using statement and yet not so apparently.  In 
order to use the ForEach you must use Parallel.ForEach, the syntax of which is different from the 
original ForEach which I am replacing.

John W. Colby
Colby Consulting

Reality is what refuses to go away
when you do not believe in it

On 9/15/2012 9:48 AM, Gustav Brock wrote:
> Hi John
>
> There is no .Parallel, but having declared:
>
> using System.Threading.Tasks;
>
> you should be ready.
> Here is a document that should get you started:
>
> http://www.microsoft.com/en-us/download/details.aspx?id=19222
>
> I haven't had any use for Parallel so I cannot advise further.
>
> /gustav
>
>
>>>> jwcolby at colbyconsulting.com 15-09-12 14:59 >>>
> According to this:
>
> http://msdn.microsoft.com/en-us/library/dd460693(v=vs.100).aspx
>
> it is supposed to be under tasks but there is no dot object under tasks.
>
> John W. Colby
> Colby Consulting
>
> Reality is what refuses to go away
> when you do not believe in it
>
> On 9/15/2012 8:54 AM, jwcolby wrote:
>> VS 2010, .Net 4.0.
>>
>> I am not finding the parallel library.  System.Threading.Tasks is there but I am not able to find
>> the parallel library.  Google isn't helping either.
>>
>> Where did they put this thing?
>
> _______________________________________________
> dba-VB mailing list
> dba-VB at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/dba-vb
> http://www.databaseadvisors.com
>
>



More information about the dba-VB mailing list