Re: pthread portability

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pthread portability
Дата
Msg-id 20160328232709.GA833802@alvherre.pgsql
обсуждение исходный текст
Ответ на pthread portability  (Michael McConville <mmcco@mykolab.com>)
Ответы Re: pthread portability  (Christoph Moench-Tegeder <cmt@burggraben.net>)
Re: pthread portability  (Michael McConville <mmcco@mykolab.com>)
Список pgsql-hackers
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?


-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Michael McConville
Дата:
Сообщение: pthread portability
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: TAP / recovery-test fs-level backups, psql enhancements etc