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.
Relatedly, INVALID_THREAD is defined as (pthread_t)0. I don't think this
i
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
> > pthre