Path: csiph.com!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: Gerald Breuer Newsgroups: comp.programming.threads Subject: Re: About Parallel sort library.... Date: Thu, 15 Nov 2012 18:28:49 +0100 Organization: Aioe.org NNTP Server Lines: 12 Message-ID: References: NNTP-Posting-Host: EsvalpzLbdyjanwP0yLIHw.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.programming.threads:1233 Am 07.11.2012 02:27, schrieb aminer: > You can still do many things with threads and with threadpools, > that's what i did, and i am happy with that. Threadpools make sense when the CPU-time consumed by the thread is in the magnitude of the time to create a thread through the kernel; when the CPU-time is a higher, creating a thread rather doesn't hurt. As you can't know which amount of data your algorithms operate on you can't know the runtime so you can't know if using thread-pools is generally appropriate.