Re: pthread portability - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: pthread portability
Date
Msg-id 20160328232709.GA833802@alvherre.pgsql
Whole thread Raw
In response to pthread portability  (Michael McConville <mmcco@mykolab.com>)
Responses Re: pthread portability
Re: pthread portability
List 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 by date:

Previous
From: Michael McConville
Date:
Subject: pthread portability
Next
From: Alvaro Herrera
Date:
Subject: Re: TAP / recovery-test fs-level backups, psql enhancements etc