Re: pthread portability - Mailing list pgsql-hackers

From Michael McConville
Subject Re: pthread portability
Date
Msg-id 20160329004719.GB78989@thinkpad.swarthmore.edu
Whole thread Raw
In response to Re: pthread portability  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCH] Improve safety of FormatMessage() calls on Windows
Next
From: Robert Haas
Date:
Subject: Re: Using quicksort for every external sort run