Re: pthread portability

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Michael McConville <mmcco(at)mykolab(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pthread portability
Date: 2016-03-28 23:27:09
Message-ID: 20160328232709.GA833802@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: 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
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2016-03-28 23:51:53 Re: TAP / recovery-test fs-level backups, psql enhancements etc
Previous Message Tom Lane 2016-03-28 22:26:58 Re: raw output from copy