Tuesday, March 29, 2011

Async has arrived

Tasks are the new Thread.

Stephen Taub describes the new parallelisms in C#.
  • Await Keyword
  • Multiple CPUs
  • Task.Run
  • Chain tasks together
  • Throttle
  • Action Blocks
  • Similar to Iterators in C#
  • Buffers
  • Data Flow Library
  • IEnumerate thread safe collection
  • Concurrent collection uses snapshot
  • System.Threading.Tasks.Dataflow
  • No more WaitHandle, SyncRoot or Thread
  • Task - Sync Holder and Results
  • Tour

TPL Dataflow Preview

No comments:

Post a Comment