This is the mail archive of the cygwin-developers@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: quandary with pthreads


On Thu, Dec 12, 2002 at 01:37:37AM -0600, Gary R. Van Sickle wrote:
>Ok, attached is what I'd try if I was set up to try it.  I've found that you
>pretty much always need the "volatile" after the __asm__, or the newer gccs want
>to optimize your assembly away, even if they should be able to tell that you've
>got side-effects.

AFAIK, there is a volatile after the __asm__.

How about a standard unified diff so that it is easy to see what you changed?

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]