Article View: borland.public.cppbuilder.nativeapi
Article #11893Re: Poor thread performance on multi-CPU machines
From: Alan Bellingham
Date: Sat, 10 Jan 2004 02:00
Date: Sat, 10 Jan 2004 02:00
16 lines
1676 bytes
1676 bytes
Alan Bellingham <alanb@episys.com> wrote:
>A _thread_ can only execute on one CPU (or pseudo-CPU in the case of
>Hyperthreading)
^
at a time (I should mention)
On a multiprocessor PC, you'll often find threads jumping from processor
to processor, as the task scheduler attempts to balance load. Unless
they've had their properties set to be confined to fewer.
Alan Bellingham
--
Me <url:mailto:alanb@episys.com> <url:http://www.doughnut.demon.co.uk/>
ACCU - C, C++ and Java programming <url:http://accu.org/>
The 2004 Discworld Convention <url:http://dwcon.org/>
Technical Details
Message-ID:
<21nuvvocnf0eooaevequlp9tds3coikbkl@4ax.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3fff05ce$1@newsgroups.borland.com> <3fff2f6f$1@newsgroups.borland.com> <pgkuvv0l8c4cdh8anfkjlpq7h86nr6fofd@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,6aabc16a59635b8c X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-01-09 18:09:56 PST From: Alan Bellingham <alanb@episys.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Poor thread performance on multi-CPU machines Date: Sat, 10 Jan 2004 02:00:41 +0000 Reply-To: alanb@episys.com Message-ID: <21nuvvocnf0eooaevequlp9tds3coikbkl@4ax.com> References: <3fff05ce$1@newsgroups.borland.com> <3fff2f6f$1@newsgroups.borland.com> <pgkuvv0l8c4cdh8anfkjlpq7h86nr6fofd@4ax.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 62.49.31.105 X-Trace: newsgroups.borland.com 1073700039 62.49.31.105 (9 Jan 2004 18:00:39 -0700) Lines: 16 Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail