Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > Volatile

Reply
Thread Tools

Volatile

 
 
Rajesh
Guest
Posts: n/a
 
      11-03-2003
Dear All,


Where to use Volatile variables. Should i very volatile for all global variable?

Thanks
Rajesh
 
Reply With Quote
 
 
 
 
Andreas Kahari
Guest
Posts: n/a
 
      11-03-2003
In article <(E-Mail Removed) >, Rajesh wrote:
> Dear All,
>
>
> Where to use Volatile variables. Should i very volatile for all global variable?
>


Search google for discussions about the volatile keyword:

http://groups.google.com/groups?q=vo...%3Acomp.lang.c


--
Andreas Kähäri
 
Reply With Quote
 
 
 
 
Joona I Palaste
Guest
Posts: n/a
 
      11-03-2003
Rajesh <(E-Mail Removed)> scribbled the following:
> Dear All,


> Where to use Volatile variables. Should i very volatile for all global variable?


What's wrong with the answers you already got?

--
/-- Joona Palaste ((E-Mail Removed)) ------------- Finland --------\
\-- http://www.helsinki.fi/~palaste --------------------- rules! --------/
"Bad things only happen to scoundrels."
- Moominmamma
 
Reply With Quote
 
Andreas Kahari
Guest
Posts: n/a
 
      11-03-2003
In article <(E-Mail Removed)>, Andreas Kahari wrote:
> In article <(E-Mail Removed) >, Rajesh wrote:
>> Where to use Volatile variables. Should i very volatile for all global variable?
>>

>
> Search google for discussions about the volatile keyword:


s/keyword/qualifier/

Mea culpa.

--
Andreas Kähäri
 
Reply With Quote
 
Sheldon Simms
Guest
Posts: n/a
 
      11-03-2003
On Mon, 03 Nov 2003 03:11:17 -0800, Rajesh wrote:

> Dear All,
>
> Where to use Volatile variables.


You have asked this many times. You have received many answers.

> Should i very volatile for all global variable?


No.

To add to that, if your program will be running on a PC, and you
don't understand what volatile does, then don't ever use volatile.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0xffc Thread 0x228 DBC 0x437b94 Jet'. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr bazzer ASP .Net 0 03-30-2006 03:16 PM
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x8fc Thread 0x934 DBC 0x437b94 Jet'. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr bazzer ASP .Net 1 03-24-2006 04:20 PM
ERROR [HY000] [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x8fc Thread 0x934 DBC 0x437b94 Jet'. ERROR [IM006] [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr bazzer ASP .Net 0 03-24-2006 02:22 PM
Use of the Volatile keyword for a pointer to a volatile memory block ben C Programming 5 01-11-2005 05:38 PM
Re: Volatile? Knute Johnson Java 17 07-03-2003 03:31 AM



Advertisments