Re: pthread portability

From: Michael McConville <mmcco(at)mykolab(dot)com>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pthread portability
Date: 2016-03-29 00:47:20
Message-ID: 20160329004719.GB78989@thinkpad.swarthmore.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2016-03-29 00:52:39 pgsql: pgbench: Support double constants and functions.
Previous Message Kouhei Kaigai 2016-03-29 00:28:22 Re: WIP: Upper planner pathification