New Posts New Posts RSS Feed: Parallel programming Net 4
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Parallel programming Net 4

 Post Reply Post Reply
Author
BillG View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 05-Dec-2007
Location: Monroe, MI
Posts: 233
Post Options Post Options   Quote BillG Quote  Post ReplyReply Direct Link To This Post Topic: Parallel programming Net 4
    Posted: 30-Jul-2010 at 9:37pm
There is a new book out called Pro .NET 4 Parallel Programming in C#. I realize that multithreading is not a good fit with IdeaBlade but will I get any benefits from the new Parallel features of Net 4 in a n-tier WPF app using Devforce?
 
Bill
 
Back to Top
ting View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 27-Mar-2009
Location: San Francisco
Posts: 427
Post Options Post Options   Quote ting Quote  Post ReplyReply Direct Link To This Post Posted: 03-Aug-2010 at 7:30pm
Yes, you can certainly make use of the Task Parallel Library in your application.  We did not integrate with it because it is not available in Silverlight 4 and we wanted to keep our API consistent.  So we created AsyncParallelTask and AsyncSerialTask which are threaded extensions of the EntityManager that handle the thread delgation, synchronization, and merging of results back on the primary thread.
 
Go ahead and make use of the Task Parallel Library, but just remember that only a single thread may make calls onto an instance of the EntityManager.
 
 


Edited by ting - 03-Aug-2010 at 7:31pm
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down