Re: threads stuff/UnixWare

Поиск
Список
Период
Сортировка
От Marc G. Fournier
Тема Re: threads stuff/UnixWare
Дата
Msg-id 20040512141258.E35531@ganymede.hub.org
обсуждение исходный текст
Ответ на Re: threads stuff/UnixWare  (Larry Rosenman <ler@lerctr.org>)
Ответы Re: threads stuff/UnixWare
Список pgsql-hackers
On Wed, 12 May 2004, Larry Rosenman wrote:

> 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.

Wouldn't it be easier to have a #define?

Correct me if I'm wrong here, but the problem is that we are expecting
thread functinos to be called x_, while Unixware defines them as pthread_,
right? so make Unixware specific #defines that map x_ to pthread_ ...



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


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

Предыдущее
От: Larry Rosenman
Дата:
Сообщение: Re: threads stuff/UnixWare
Следующее
От: Larry Rosenman
Дата:
Сообщение: Re: threads stuff/UnixWare