Re: [HACKERS] s_lock.h cleanup

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] s_lock.h cleanup
Дата
Msg-id 6698.979876169@sss.pgh.pa.us
обсуждение исходный текст
Ответ на s_lock.h cleanup  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: [HACKERS] s_lock.h cleanup  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
As long as we're cleaning things up, I would suggest that all the ports
that use gcc assembler be made to declare it uniformly, as

    __asm__ __volatile__ ( ... );

As I read the GCC manual, there's some risk of the asm sections getting
moved around in the program flow if they are not marked volatile.  Also
we oughta be consistent about using the double-underscore keywords IMHO.

            regards, tom lane

В списке pgsql-patches по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: s_lock.h cleanup
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] s_lock.h cleanup