Re: better atomics - v0.2

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: better atomics - v0.2
Дата
Msg-id 9178.1384875024@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: better atomics - v0.2  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: better atomics - v0.2  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> On 11/19/13, 9:57 AM, Tom Lane wrote:
>> Hm.  Now that I think about it, isn't Peter proposing to break systems
>> without working "inline" over here?
>> http://www.postgresql.org/message-id/1384257026.8059.5.camel@vanquo.pezone.net

> No, that's about const, volatile, #, and memcmp.

Ah, sorry, not enough caffeine absorbed yet.  Still, we should stop
to think about whether this represents an undesirable move of the
portability goalposts.  The first three of these are certainly
compiler issues, and I personally don't have a problem with blowing
off compilers that still haven't managed to implement all of C89 :-(.
I'm not clear on which systems had the memcmp issue --- do we have
the full story on that?

> I don't have an informed opinion about requiring inline support
> (although it would surely be nice).

inline is C99, and we've generally resisted requiring C99 features.
Maybe it's time to move that goalpost, and maybe not.
        regards, tom lane



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: better atomics - v0.2
Следующее
От: Andres Freund
Дата:
Сообщение: Re: better atomics - v0.2