Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: "aminer" Newsgroups: comp.programming.threads,comp.programming Subject: Threadpool 1.4 and threadpool with priority 1.3 Date: Mon, 1 Oct 2012 14:59:42 -0500 Organization: A noiseless patient Spider Lines: 25 Message-ID: Injection-Date: Mon, 1 Oct 2012 18:59:47 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="c43ca82f9e8d62a602307fe9d2e9b807"; logging-data="27575"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/j3VElHz/yYbTAiV2OhaDV" X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-RFC2646: Format=Flowed; Original X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 Cancel-Lock: sha1:b6wDOyYHlosz7oPh4own3ys6nWc= X-Priority: 3 X-MSMail-Priority: Normal Xref: csiph.com comp.programming.threads:1154 comp.programming:2276 Hello, Threadpool and Threadpool with priiority was updated , now the i have added an Exec() method that is scalable, and i have let the Execute() method that is not scalable. The interface of the new Exec() method is: function Exec(func:TMyProc;const Context: Pointer;var index:long): Boolean; And don't forget to initialize once the index to 0 before calling Exec(). You can download them from: http://pages.videotron.com/aminer/ Thank you, Amine Moulay Ramdane.