www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2002/12/12/12:40:08

Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT cygwin DOT com
Delivered-To: mailing list cygwin-developers AT cygwin DOT com
X-Authentication-Warning: atacama.four-d.de: mail set sender to <tpfaff AT gmx DOT net> using -f
Date: Thu, 12 Dec 2002 18:08:59 +0100 (=?ISO-8859-1?Q?Westeurop=E4ische_Normalzeit?=)
From: Thomas Pfaff <tpfaff AT gmx DOT net>
To: cygwin-developers AT cygwin DOT com
Subject: Re: quandary with pthreads
In-Reply-To: <20021212164838.GG10952@redhat.com>
Message-ID: <Pine.WNT.4.44.0212121752130.293-200000@algeria.intern.net>
X-X-Sender: pfaff AT antarctica DOT intern DOT net
MIME-Version: 1.0

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime AT docserver DOT cac DOT washington DOT edu for more info.

--1033902-8690-1039712939=:293
Content-Type: TEXT/PLAIN; charset=US-ASCII



On Thu, 12 Dec 2002, Christopher Faylor wrote:

> Nope.  I'm not going to look at this.  One or both of you need to
> clarify what is going on here.  Sending a diff where nearly every line
> is changed (thanks to gratuitous formatting difference?) is not a help.
>

You may notice that most of the changes were tabs in your source and
spaces in the other. Attached is a whitespace ignored diff.

> I certainly appreciate the effort involved in tracking down the problem.
> I would appreciate a little more effort in showing what the problem
> actually was.

The most important problem was that you didn't create an
InterlockedCompareEchange function. If you did i never had any problems,
because thats were i failed. After creating some versions i had one that
worked when not inlined. I didn't realize the missing volatile.

Thomas

--1033902-8690-1039712939=:293
Content-Type: TEXT/plain; name="winbase.patch"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine DOT WNT DOT 4 DOT 44 DOT 0212121808590 DOT 293 AT algeria DOT intern DOT net>
Content-Description: 
Content-Disposition: attachment; filename="winbase.patch"

LS0tIHdpbmJhc2UuaC5vcmcJMjAwMi0wNi0yNCAwMzoxMjozNy4wMDAwMDAw
MDAgKzAyMDAKKysrIHdpbmJhc2UuaAkyMDAyLTEyLTEyIDE4OjAwOjQ0LjAw
MDAwMDAwMCArMDEwMApAQCAtNyw4ICs3LDE0IEBACiAjZGVmaW5lIF9XSU5C
QVNFMl9ICiAjZW5kaWYKIAotI2lmbmRlZiBfV0lOQkFTRTJfSAotI2RlZmlu
ZSBfV0lOQkFTRTJfSAorI2lmIGRlZmluZWQoX19JTlNJREVfQ1lHV0lOX18p
ICYmICFkZWZpbmVkIChfX05PX0lOVEVSTE9DS0VEX18pCisKKyNpZm5kZWYg
X19JTlRFUkxPQ0tFRF9ERUZJTkVEX18KKyNkZWZpbmUgX19JTlRFUkxPQ0tF
RF9ERUZJTkVEX18KKworI2lmZGVmIF9fY3BsdXNwbHVzCitleHRlcm4gIkMi
IHsKKyNlbmRpZgogCiBleHRlcm4gX19pbmxpbmVfXyBsb25nIGlsb2NraW5j
ciAobG9uZyAqbSkKIHsKQEAgLTE3LDcgKzIzLDkgQEAgZXh0ZXJuIF9faW5s
aW5lX18gbG9uZyBpbG9ja2luY3IgKGxvbmcgKgogCW1vdmwJJDEsJTBcblwK
IAlsb2NrCXhhZGQgJTAsKCUxKVxuXAogCWluYwklMFxuXAotCSI6ICI9YSIg
KF9fcmVzKSwgIj1yIiAobSk6ICIxIiAobSkpOworCTogIj1hIiAoX19yZXMp
LCAiPXEiIChtKQorCTogIjEiIChtKQorCTogIm1lbW9yeSIgKTsKICAgcmV0
dXJuIF9fcmVzOwogfQogZXh0ZXJuIF9faW5saW5lX18gbG9uZyBpbG9ja2Rl
Y3IgKGxvbmcgKm0pCkBAIC0yNywyNiArMzUsNTMgQEAgZXh0ZXJuIF9faW5s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ZXR1cm4gX19yZXM7Cit9CisKKyNpZmRlZiBfX2NwbHVzcGx1
cworfQorI2VuZGlmCisKICN1bmRlZiBJbnRlcmxvY2tlZEluY3JlbWVudAog
I2RlZmluZSBJbnRlcmxvY2tlZEluY3JlbWVudCBpbG9ja2luY3IKICN1bmRl
ZiBJbnRlcmxvY2tlZERlY3JlbWVudAogI2RlZmluZSBJbnRlcmxvY2tlZERl
Y3JlbWVudCBpbG9ja2RlY3IKICN1bmRlZiBJbnRlcmxvY2tlZEV4Y2hhbmdl
CiAjZGVmaW5lIEludGVybG9ja2VkRXhjaGFuZ2UgaWxvY2tleGNoCisjdW5k
ZWYgSW50ZXJsb2NrZWRDb21wYXJlRXhjaGFuZ2UKKyNkZWZpbmUgSW50ZXJs
b2NrZWRDb21wYXJlRXhjaGFuZ2UgaWxvY2tjbXBleGNoCisKKyNlbmRpZiAv
Kl9fSU5URVJMT0NLRURfREVGSU5FRF9fKi8KKworI2VuZGlmIC8qZGVmaW5l
ZChfX0lOU0lERV9DWUdXSU5fXykgJiYgIWRlZmluZWQgKF9fTk9fSU5URVJM
T0NLRURfXykqLworCisjaWZuZGVmIF9XSU5CQVNFMl9ICisjZGVmaW5lIF9X
SU5CQVNFMl9ICiAKIGV4dGVybiBsb25nIHRsc19peDsKIGV4dGVybiBjaGFy
ICogdm9sYXRpbGUgKl9fc3RhY2tiYXNlIF9fYXNtX18gKCIlZnM6NCIpOwo=
--1033902-8690-1039712939=:293--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019