Use of volatile

Поиск
Список
Период
Сортировка
Искать

Use of volatile

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
Is volatile being used because the variables are modified in a signal
handler?  Maybe.

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

Re: Use of volatile

От:
Alfred Perlstein <bright@wintelcom.net>
Дата:
* Bruce Momjian  [000629 09:24] wrote:
> Is volatile being used because the variables are modified in a signal
> handler?  Maybe.

Yes, that's another reason to use volatile.

-Alfred

FAQ