0
votes
Vote UpVote

OmniThreadLibrary in Practice [2a]–Backround Worker and List Partitioning

The Delphi Geek – Today I’m revisiting example from November 2011. This time I’ll solve it using the new Parallel.BackgroundWorker abstraction. Part of the Zarko’s requirements (see the original post for full text) was a cancellation support. At any time the "master" thread could be signaled to terminate (from the app's main thread) all child threads (and itself). When I was originally implementing this using the Parallel.Pipeline abstraction I had to put some work into the cancellation support. The main reason for this was inappropriate abstraction – Parallel.Pipeline is designed around the ...
Favorite? Off-Topic? gabr @ 2012-01-17 20:35

Statistics

Visits: 597
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

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)