Re: threads stuff/UnixWare

Поиск
Список
Период
Сортировка
От Larry Rosenman
Тема Re: threads stuff/UnixWare
Дата
Msg-id 116DB15BD517E376C29B4E3C@lerlaptop.lerctr.org
обсуждение исходный текст
Ответ на Re: threads stuff/UnixWare  ("Marc G. Fournier" <scrappy@postgresql.org>)
Ответы Re: threads stuff/UnixWare
Список pgsql-hackers

--On Wednesday, May 12, 2004 12:57:10 -0300 "Marc G. Fournier" 
<scrappy@postgresql.org> wrote:

> On Wed, 12 May 2004, Larry Rosenman wrote:
>
>> At the risk of getting my butt kicked again, is there any way we can
>> talk about how to deal with threads on UnixWare and the libpq stuff?
>>
>> Has any other platform come up with a need to look for the real pthread_*
>> calls from libpq?
>>
>> I would REALLY like us to support threaded programs in UnixWare, and
>> would like to NOT antagonize the community, but would like to have a
>> direction I can go to make this happen in 7.5 before we freeze.
>
> Perfect time to start talking about it, at least :)
>
> Do you have a proposed patch to look at for doing this?
No, as I believe the way I want to do it was frowned upon.

I'd LIKE to be able to have PG wrappers for those functions, and
have the first invocation of them look via dlsym() for the real ones, and 
if they are NOT there, use fake functions that assume we are NOT threaded.

If they ARE present, indirect to the real functions.

I am looking for direction before expending a lot of effort on it, if it 
will ultimately be rejected.


>
> ----
> Marc G. Fournier           Hub.Org Networking Services
> (http://www.hub.org) Email: scrappy@hub.org           Yahoo!: yscrappy
> ICQ: 7615664



-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Subtle pg_dump problem...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: threads stuff/UnixWare