Skip site navigation (1) Skip section navigation (2)

psql use of 'volatile'

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: psql use of 'volatile'
Date: 2000-06-29 16:17:19
Message-ID: 200006291617.MAA05159@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Can someone explain why 'volatile' is used in psql/mainloop.c?  Seems
volatile is only for hardware-specific variables that can not be
optimized.


-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2000-06-29 16:19:00
Subject: Use of volatile
Previous:From: Karel ZakDate: 2000-06-29 16:14:00
Subject: Re: Misc. consequences of backend memory management changes

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group