Date: Sat, 01 Jun 1996 12:42:18 +0200 (MET DST) From: "Christoph P. Kukulies" 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 Message-id: <199606011042.MAA29398@gilberto.physik.rwth-aachen.de> MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit > 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