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