1. Computing & Technology

Discuss in my forum

Zarko Gajic

Running Delphi Tasks In Threads - Thread Pool Implementation In OTL - An Example Project

By , About.com GuideDecember 6, 2011

Follow me on:

in Threading in Delphi :: The problem I had to solve is how to make file processing as fast as possible. Having a bunch of files (from 500 to 2000+) I have to process them (let's call this "scanning"). The sequential approach (one after another) proven to be too slow. Machines have more cores today and the idea to have this file scanning running in multiple threads is something that must speed up the entire process.

Running file "scanning" in threads is what I need - to control the number of threads running at a time - thus, a Delphi thread pool implementation is what I am looking for.

Read the full article to learn how to do Threaded Delphi Tasks In A Thread Pool - Using The OTL

Related:

Comments
No comments yet. Leave a Comment
Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

©2012 About.com. All rights reserved.

A part of The New York Times Company.