www.delorie.com/archives/browse.cgi | search |
Date: | Sat, 01 Jun 1996 12:42:18 +0200 (MET DST) |
From: | "Christoph P. Kukulies" <kuku AT gilberto DOT physik DOT rwth-aachen DOT de> |
Subject: | Re: What is 'volatile'? |
In-reply-to: | <4omq1d$ga8@sky.inp.nsk.su> |
To: | myskin AT inp DOT nsk DOT su |
Cc: | djgpp AT delorie DOT com |
Reply-to: | Christoph Kukulies <kuku AT gilberto DOT physik DOT rwth-aachen DOT de> |
Message-id: | <199606011042.MAA29398@gilberto.physik.rwth-aachen.de> |
MIME-version: | 1.0 |
> Hi all! > Tell me please what does the keyword 'volatile' or '__volatile__' > mean. I can't find any info about it in FAQ or docs. It's an extension to C (can be found in the gcc docs) and means that something declared 'volatile' (a function or a variable or another entity) should not be touched by any compiler optimization algorithm.. Sure there's a bit more behind it but this is the most common reason to declare a piece of code 'volatile'. > > Thanks in advance, > V. Myskin > > > > --Chris Christoph P. U. Kukulies kuku AT gil DOT physik DOT rwth-aachen DOT de
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |