On Wed, Mar 10, 2021 at 8:10 PM Michael Paquier <[email protected]> wrote: > 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]
Thanks, looking at this and the others.
