delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=4.0 required=5.0 tests=AWL,BAYES_00,CHARSET_FARAWAY_HEADER,CTYME_IXHASH,MIME_CHARSET_FARAWAY,SARE_MSGID_LONG40,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <6aa8c88e0812241852i7aa64645xe27cd5e343ca2055@mail.gmail.com> |
Date: | Thu, 25 Dec 2008 10:52:14 +0800 |
From: | "=?GB2312?B?s8LP/urN?=" <xhchen8018 AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: [pthread] pthread+printf may have bugs |
In-Reply-To: | <6aa8c88e0812240054m6a13857uee028380f5d04862@mail.gmail.com> |
MIME-Version: | 1.0 |
References: | <6aa8c88e0812240054m6a13857uee028380f5d04862 AT mail DOT gmail DOT com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id mBP2r9R7015996 |
It is strange that the error disappeared if replacing any cygwin1.dllon the snapshot page http://cygwin.com/snapshots/For these versions, I see a more line "Huh? No /etc/fstab file?Using default root and cygdrive prefix..." was printed. By the way, does anybody know where can I find the pthread source forcygwin? is it pthread-win32? Thanks ..I want to look into it. 2008/12/24 ³ÂÏþêÍ <xhchen8018 AT gmail DOT com>:> Hi,>> I found that pthread may stop work if using printf in thread.> I'm not sure that printf is thread safe or not, so I tried to wrap the> printf with a mutex, but the problem still exists.> After I removed all printfs, everything is OK.>
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |