Re: pthread portability

Поиск
Список
Период
Сортировка
От Michael McConville
Тема Re: pthread portability
Дата
Msg-id 20160329004719.GB78989@thinkpad.swarthmore.edu
обсуждение исходный текст
Ответ на Re: pthread portability  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
Alvaro Herrera wrote:
> Michael McConville wrote:
> > The below diff fixes one problem: you can't compare pthread_t values
> > directly. Only the function pthread_equal(3) is defined. Direct
> > comparison usually works because most implementations define
> > pthread_t as an integer type.
> 
> So is there a platform where this assumption doesn't hold?

Not sure.



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] Improve safety of FormatMessage() calls on Windows
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Using quicksort for every external sort run