From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14819 invoked by alias); 14 Oct 2008 12:55:33 -0000 Received: (qmail 14810 invoked by uid 22791); 14 Oct 2008 12:55:32 -0000 X-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from atlantis.wh2.tu-dresden.de (HELO atlantis.wh2.tu-dresden.de) (141.30.228.39) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 14 Oct 2008 12:54:53 +0000 Received: from apfelbuch.mr.inf.tu-dresden.de (unknown [141.76.92.86]) by atlantis.wh2.tu-dresden.de (Postfix) with ESMTP id 6E52924776 for ; Tue, 14 Oct 2008 14:54:50 +0200 (CEST) Message-Id: <67EE2AE5-CB49-4D5A-9AC4-454194890597@wh2.tu-dresden.de> From: Lars Poeschel To: ecos-devel@ecos.sourceware.org Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-2-868549098" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Subject: Error in eCosThreadUtils.h Date: Tue, 14 Oct 2008 12:55:00 -0000 X-Pgp-Agent: GPGMail d51 (Leopard) X-Mailer: Apple Mail (2.929.2) X-Virus-Checked: Checked by ClamAV on sourceware.org X-IsSubscribed: yes Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org X-SW-Source: 2008-10/txt/msg00000.txt.bz2 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-2-868549098 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Content-length: 504 Hello! Is there a bug in eCosThreadUtils.h line 64: #ifndef NO_THREADS typedef int THREAD_ID; #else typedef pthread_t THREAD_ID: #endif Shouldn't it be reversed, so that if NO_THREADS is defined that THREAD_ID is typdef'd as int ? But the real question is: Is this still valid ? As I don't see that NO_THREADS could be defined somewhere. It should either be replaced by a pthreads configure test or (which I would opt for) be removed completly (as well in eCosThreadUtils.cpp). Regards, Lars --Apple-Mail-2-868549098 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit Content-length: 194 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) iEYEARECAAYFAkj0lpQACgkQ3m3cZ1XsbwenHQCeOG9FcLej/Oo6Kb6agT8zdH2U vysAn1z0fZaQRcwL6ejIMgUr8/zYcNQV =BfaB -----END PGP SIGNATURE----- --Apple-Mail-2-868549098--