From: aminer on 23 Apr 2010 15:38 Hello, Skybuck wrote about my Thread Pool Engine: >[..] >1. Delete your thread pool, because it's junk. >2. Write a serious/big application that uses many threads, > and simply derive from TThread to see how easy it is. also Skybuck wrote about my Thread Pool Engine: > Your code seems too complex for something as simple as running > a few threads ! ;) > > Bye, > Skybuck :) I have designed my Thread Pool Engine for 'scalability', it uses my Lock-free ParallelQueue: http://pages.videotron.com/aminer/parallelqueue/parallelqueue.htm etc. So it is very efficient. Also, WHEN the consumers/workers are doing their jobs , the producers can still do their jobs 'asychronously' and 'push' their items/jobs in the queue - WHILE the workers/consumers are doing their jobs - so , with Thread Pool Engine you can use efficiently your multicores.. http://pages.videotron.com/aminer/threadpool.htm Hence , my Thread Pool Engine is efficient and useful. Sincerely, Amine Moulay Ramdane.
|
Pages: 1 Prev: Idiotic programming style edicts Next: Regular Expression Search Algorithm |