Browse by Tags

Related Posts

  • Asynchronous "For" Loops

    With processors set to scale at the CPU level instead of the Mhz level, wouldn't it be great if you could write some code like: StringBuilder output = new StringBuilder(); foreach (MyObj o in collection) async { output.Append(doSomethingHard(o)); } and have the compiler spawn a couple threads to...
    Posted to Jesse Ezell Blog (Weblog) by Jesse Ezell on 08-05-2006, 12:00 AM
    Filed under: Anonymous Methods, Asyncronous Programming, General Software Development, Generics, C#, Threading, .NET
  • Asynchronous "For" Loops

    With processors set to scale at the CPU level instead of the Mhz level, wouldn't it be great if you could write some code like: StringBuilder output = new StringBuilder(); foreach (MyObj o in collection) { string val; async { val = doSomethingHard(o); } sync { output.Append(val); } } and have the...
    Posted to Jesse Ezell Blog (Weblog) by Jesse Ezell on 08-05-2006, 12:00 AM
    Filed under: General Software Development, .NET, C#, Asyncronous Programming, Threading, Generics, Anonymous Methods
Page 1 of 1 (2 items)
Microsoft Communities