Optimization of conditional access to globals: thread-unsafe?
Tomash Brechko
tomash.brechko@gmail.com
Tue Oct 30 08:03:00 GMT 2007
On Tue, Oct 30, 2007 at 08:56:08 +0100, Eric Botcazou wrote:
> > The use doesn't become proper simply because it appears in the code,
> > even if in the code of GCC. volatile might be used there for
> > completely different reasons.
>
> No, I put it there for this purpose.
Then you could remove it, if not for unlocked access.
--
Tomash Brechko
More information about the Gcc
mailing list