Are there any new parallel programing features in Delphi 2006 - XE?

Are there any new parallel programing features in Delphi 2006 - XE?

Answers


There's a TThread.CreateAnonymousThread in Delphi XE which allows for simple execution of background tasks.

A trivial demo:

TThread.CreateAnonymousThread(
  procedure begin
    Sleep(10000); // replace with a real workload
  end
).Start;

Minimal in the releases themselves. In Delphi 2009 they added support for anonymous methods in TThread.Synchronize, and in XE they added a thread-communication queue to Generics.Collections.

But the community has contributed some interesting stuff. For example, check out OmniThreadLibrary.


Need Your Help

How to get the temperature of motherboard of a PC (and other hardware statistics)?

java statistics hardware temperature

does any one know how to get the current motherboard, processor or HD temperature statistics?

How to make application settings independent of .exe path?

c# .net application-settings

Suppose I want to move my app from c:\myapp.exe to d:\myapp.exe. It will loose all settings. How to prevent that?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.