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 i
Christoph Moench-Tegeder writes:
> ## Alvaro Herrera (alvhe...@2ndquadrant.com):
>>> 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
>
## Alvaro Herrera (alvhe...@2ndquadrant.com):
> > 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 t
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 assump