pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Thomas Munro <tmunro@postgresql.org>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: pgbench: Refactor thread portability support.
Date: Wed, 10 Mar 2021 16:10:02 +0900
Message-ID: <YEhwyobZWhr/4zMp@paquier.xyz> (raw)
In-Reply-To: <E1lJqpF-00064d-Bk@gemulon.postgresql.org>
References: <E1lJqpF-00064d-Bk@gemulon.postgresql.org>

Hi Thomas,

On Wed, Mar 10, 2021 at 04:52:01AM +0000, Thomas Munro wrote:
> pgbench: Refactor thread portability support.
> 
> Instead of maintaining an incomplete emulation of POSIX threads for
> Windows, let's use an extremely minimalist macro-based abstraction for
> now.  A later patch will extend this, without the need to supply more
> complicated pthread emulation code.  (There may be a need for a more
> serious portable thread abstraction in later projects, but this is not
> it.)

This one is causing a failure in whelk:
https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=whelk&dt=2021-03-10%2006%3A41%3A53
src/bin/pgbench/pgbench.c(6154): warning C4024: '_beginthreadex' :
different types for formal and actual parameter 3 [C:\\buildfarm\\buildenv\\HEAD\\pgsql.build\\pgbench.vcxproj]
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (7+ messages)  latest in thread

Message-ID: <YEhwyobZWhr/4zMp@paquier.xyz>
Permalink:  ../YEhwyobZWhr%2F4zMp@paquier.xyz/
Also on:    postgresql.org/message-id/YEhwyobZWhr/4zMp@paquier.xyz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, tmunro@postgresql.org
  Subject: Re: pgsql: pgbench: Refactor thread portability support.
  In-Reply-To: <YEhwyobZWhr/4zMp@paquier.xyz>
  References: <E1lJqpF-00064d-Bk@gemulon.postgresql.org> <YEhwyobZWhr/4zMp@paquier.xyz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox