Re: pgsql: pgbench: Refactor thread portability support.

2021-03-10 Thread Thomas Munro
On Wed, Mar 10, 2021 at 9:49 PM Thomas Munro wrote: > On Wed, Mar 10, 2021 at 9:38 PM Thomas Munro wrote: > > On Wed, Mar 10, 2021 at 8:51 PM Thomas Munro wrote: > > >... I'm now contemplating what's up with hoverfly (some AIX header > > > problem)... > > > > Pushed something for the other two

Re: pgsql: pgbench: Refactor thread portability support.

2021-03-10 Thread Thomas Munro
On Wed, Mar 10, 2021 at 9:38 PM Thomas Munro wrote: > On Wed, Mar 10, 2021 at 8:51 PM Thomas Munro wrote: > >... I'm now contemplating what's up with hoverfly (some AIX header > > problem)... > > Pushed something for the other two failures seen, but for this one I'm > temporarily stumped. We ma

Re: pgsql: pgbench: Refactor thread portability support.

2021-03-10 Thread Thomas Munro
On Wed, Mar 10, 2021 at 8:51 PM Thomas Munro wrote: >... I'm now contemplating what's up with hoverfly (some AIX header > problem)... Pushed something for the other two failures seen, but for this one I'm temporarily stumped. We managed to compile all kinds of stuff that surely includes the mod

Re: pgsql: pgbench: Refactor thread portability support.

2021-03-09 Thread Thomas Munro
On Wed, Mar 10, 2021 at 8:14 PM Thomas Munro wrote: > On Wed, Mar 10, 2021 at 8:10 PM Michael Paquier wrote: > > On Wed, Mar 10, 2021 at 04:52:01AM +, Thomas Munro wrote: > > > pgbench: Refactor thread portability support. > > > > > > Instead of maintaining an incomplete emulation of POSIX th

Re: pgsql: pgbench: Refactor thread portability support.

2021-03-09 Thread Thomas Munro
On Wed, Mar 10, 2021 at 8:10 PM Michael Paquier wrote: > On Wed, Mar 10, 2021 at 04:52:01AM +, 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-

Re: pgsql: pgbench: Refactor thread portability support.

2021-03-09 Thread Michael Paquier
Hi Thomas, On Wed, Mar 10, 2021 at 04:52:01AM +, 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 exte

pgsql: pgbench: Refactor thread portability support.

2021-03-09 Thread Thomas Munro
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