Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 20205 invoked from network); 29 Jul 2007 22:40:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Jul 2007 22:40:29 -0000 Received: (qmail 17167 invoked by uid 500); 29 Jul 2007 22:40:29 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 17159 invoked by uid 500); 29 Jul 2007 22:40:29 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 17148 invoked by uid 99); 29 Jul 2007 22:40:29 -0000 Received: from Unknown (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Jul 2007 15:40:29 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [64.202.165.238] (HELO smtpout10.prod.mesa1.secureserver.net) (64.202.165.238) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 29 Jul 2007 22:40:21 +0000 Received: (qmail 18872 invoked from network); 29 Jul 2007 22:40:00 -0000 Received: from unknown (24.15.193.17) by smtpout10-04.prod.mesa1.secureserver.net (64.202.165.238) with ESMTP; 29 Jul 2007 22:39:59 -0000 Message-ID: <46AD173C.5000209@rowe-clan.net> Date: Sun, 29 Jul 2007 17:39:56 -0500 From: "William A. Rowe, Jr." User-Agent: Thunderbird 1.5.0.12 (X11/20070530) MIME-Version: 1.0 To: stdcxx-dev@incubator.apache.org Subject: Re: atomic tests timing out on Windows References: <7BDB2168BEAEF14C98F1901FD2DE6438BB0751@epmsa009.minsk.epam.com> <46A8123C.6010109@roguewave.com> <7BDB2168BEAEF14C98F1901FD2DE6438BB07DB@epmsa009.minsk.epam.com> <46A8D0AA.1050408@roguewave.com> <7BDB2168BEAEF14C98F1901FD2DE6438BB09B0@epmsa009.minsk.epam.com> <46A8EAC7.8040908@roguewave.com> <46AD15B5.5010605@roguewave.com> In-Reply-To: <46AD15B5.5010605@roguewave.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Martin Sebor wrote: > Here are a couple of articles from the Intel Knowledge Base that don't > appear to come with a restrictive license or even a copyright. The code > is Windows-specific but it should be possible to translate it to > something understandable to gcc and other compilers (Sun C++ on x86). > > How to Determine Whether a Processor Supports Hyper-Threading Technology: > http://www3.intel.com/cd/ids/developer/asmo-na/eng/dc/threading/knowledgebase/43843.htm > > > How to Determine the Number of Logical Processors per Physical > Processor: > http://www.intel.com/cd/ids/developer/asmo-na/eng/dc/threading/knowledgebase/43842.htm If you are looking for BSD-license compatible logic for this, I'm just guessing that the BSD OS sources themselves might be a great resource. Bill