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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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