hai every one,
I have some doubt about the keyword 'volatile'.can any one tell me
about volatile and what is the use of that? and where it is required?.
how we can use that in efficient manner.I want to know completely
about the keyword "VOLATILE".
please reply me soon.
Arangs
|
Go4Expert Founder
|
![]() |
| 15Jul2005,18:30 | #2 |
|
Hello arangasoft
Seen you here after quite sometime and something about the volatile keyword. If you using a multithreaded program and your one thread is something like Code:
if (myVar == NULL)
{
SomeFunction();
if (myVar == NULL)
...
}
Code:
volatile MyClass* myVar; Shabbir Bhimani |

