Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 43353 invoked from network); 29 Jul 2007 23:38:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Jul 2007 23:38:56 -0000 Received: (qmail 63205 invoked by uid 500); 29 Jul 2007 23:38:56 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 63192 invoked by uid 500); 29 Jul 2007 23:38:56 -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 63181 invoked by uid 99); 29 Jul 2007 23:38:56 -0000 Received: from Unknown (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Jul 2007 16:38:56 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of msebor@gmail.com designates 209.85.146.180 as permitted sender) Received: from [209.85.146.180] (HELO wa-out-1112.google.com) (209.85.146.180) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Jul 2007 23:38:49 +0000 Received: by wa-out-1112.google.com with SMTP id n4so4369187wag for ; Sun, 29 Jul 2007 16:38:28 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:organization:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=CC/GnS9HE/+GN3Hhqyr45zzdKVghBP4Yw9rQqo0llMSt4U0BNaF08etaZx96kBN1Ie/beXFDSf1sHqdABYIatgRfq63g0gbVDuCcJaKyM8D11y0qQs/xCpIR+EKuDoD5zLwqqh41QmHLf6pWaR0BcAbJ9NPMAOomExNOAyZ9ccY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:organization:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=oUfXuJjP7VxvM4WPgWyEdbCMkrhLSMg60PyW8Bj2Dlb4yvzCD6mcsxUZ17R0AiuGu25QiV56/Cj+FfrpG2X8oUme0utTbXYxKK2baOPJaIBKYEZkeaTGQ5Yf6WKAHMZKLnJcC3WYAk4Zm39nvLf0wVN/KBD319V/xJ6exHrWcRg= Received: by 10.114.254.1 with SMTP id b1mr4997042wai.1185752308847; Sun, 29 Jul 2007 16:38:28 -0700 (PDT) Received: from ?192.168.1.104? ( [71.229.200.170]) by mx.google.com with ESMTPS id m10sm3118121waf.2007.07.29.16.38.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 29 Jul 2007 16:38:27 -0700 (PDT) Message-ID: <46AD24F3.4060204@roguewave.com> Date: Sun, 29 Jul 2007 17:38:27 -0600 From: Martin Sebor Organization: Rogue Wave Software User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.12) Gecko/20070719 Fedora/1.0.9-2.fc6 pango-text SeaMonkey/1.0.9 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> <46AD173C.5000209@rowe-clan.net> In-Reply-To: <46AD173C.5000209@rowe-clan.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: Martin Sebor X-Virus-Checked: Checked by ClamAV on apache.org William A. Rowe, Jr. wrote: > 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. Good suggestion! Thanks! Martin