Re: RTLD_LAZY considered harmful (Re: pltlc and pltlcu problems)

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: RTLD_LAZY considered harmful (Re: pltlc and pltlcu problems)
Дата
Msg-id GNELIHDDFBOCMGBFGEFOGEBPCBAA.chriskl@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: RTLD_LAZY considered harmful (Re: pltlc and pltlcu problems)  (David Terrell <dbt@meat.net>)
Ответы Re: RTLD_LAZY considered harmful (Re: pltlc and pltlcu problems)
Список pgsql-hackers
> On Sun, Jan 20, 2002 at 01:40:17PM -0500, Tom Lane wrote:
> > What I would *like* to do is make the same change in all the
> > port/dynloader files that reference RTLD_LAZY:
> >     src/backend/port/dynloader/openbsd.h
>
> I can't speak for other platforms but openbsd only has RTLD_LAZY.

FreeBSD supports both:
    RTLD_LAZY   Each external function reference is resolved when the func-                tion is first called.
    RTLD_NOW    All external function references are bound immediately by                dlopen().
    RTLD_LAZY is normally preferred, for reasons of efficiency.  However,    RTLD_NOW is useful to ensure that any
undefinedsymbols are discovered
 

Chris



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

Предыдущее
От: David Terrell
Дата:
Сообщение: Re: [GENERAL] PostgreSQL Licence: GNU/GPL
Следующее
От: Justin Clift
Дата:
Сообщение: Re: [GENERAL] PostgreSQL Licence: GNU/GPL