1
vote
Vote UpVote

On satisfaction

The Delphi Geek – It is a great feeling when an elegant piece of code comes together. Even if it can’t be compiled yet. Parallel.ForEach(nodeQueue as IOmniValueEnumerable) .NumTasks(numTasks) .CancelWith(cancelToken) .Execute( procedure (const elem: TOmniValue) var childNode: TNode; node : TNode; begin node := TNode(elem.AsObject); if node.Value = value then begin nodeResult := node; nodeQueue.CompleteAdding; cancelToken.Signal; end else for childNode in node.Children do nodeQueue.TryAdd(childNode); ...
Favorite? Off-Topic? gabr @ 2010-02-26 19:51

Statistics

Visits: 571
Votes: 1
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

jamiei
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)