Re: Re[4]: Allowing WAL fsync to be done via O_SYNC

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re[4]: Allowing WAL fsync to be done via O_SYNC
Дата
Msg-id 25302.984764172@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Re[4]: Allowing WAL fsync to be done via O_SYNC  (The Hermit Hacker <scrappy@hub.org>)
Список pgsql-hackers
Larry Rosenman <ler@lerctr.org> writes:
>> But, with shared libraries, are you really pulling in a "whole
>> thread-support library"?

> Yes, you are.  On UnixWare, you need to add -Kthread, which CHANGES a LOT 
> of primitives to go through threads wrappers and scheduling.

Right, it's not so much that we care about referencing another shlib,
it's that -lpthreads may cause you to get a whole new thread-aware
version of libc, with attendant overhead that we don't need or want.
        regards, tom lane


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

Предыдущее
От: Doug McNaught
Дата:
Сообщение: Re: ["Stephen C. Tweedie" ] Re: O_DSYNC flag for open
Следующее
От: Tom Lane
Дата:
Сообщение: Re: ["Stephen C. Tweedie" ] Re: O_DSYNC flag for open