bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: new module for temporary files in temporary directories


From: Bruno Haible
Subject: Re: new module for temporary files in temporary directories
Date: Mon, 24 Jul 2006 21:58:53 +0200
User-agent: KMail/1.9.1

Paul Eggert wrote:
> Linus Torvalds has deprecated the use of 'volatile' in data
> structures for optimization barriers (which is the use that started
> this thread), and prefers the use of primitives like barrier()
> instead.

Sure, I agree that it's easier to write wrong code with 'volatile'
than when using 'barrier()'. However, I don't know how to write
barrier() portably, i.e. in a way that would work with compilers other
than gcc and icc. Therefore I'm using 'volatile' as the next best
solution.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]