postgresql/src/backend/port
Thomas Munro c94ae9d827 Emulate sigprocmask(), not sigsetmask(), on Windows.
Since commit a65e0864, we've required Unix systems to have
sigprocmask().  As noted in that commit's message, we were still
emulating the historical pre-standard sigsetmask() function in our
Windows support code.  Emulate standard sigprocmask() instead, for
consistency.

The PG_SETMASK() abstraction is now redundant and all calls could in
theory be replaced by plain sigprocmask() calls, but that isn't done by
this commit.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/3153247.1657834482%40sss.pgh.pa.us
2022-07-16 17:03:38 +12:00
..
aix Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
tas Remove HP-UX port. 2022-07-08 14:05:05 +12:00
win32 Emulate sigprocmask(), not sigsetmask(), on Windows. 2022-07-16 17:03:38 +12:00
.gitignore Refactor dlopen() support 2018-09-06 11:33:04 +02:00
Makefile Split all OBJS style lines in makefiles into one-line-per-entry style. 2019-11-05 14:41:07 -08:00
atomics.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
posix_sema.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
sysv_sema.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
sysv_shmem.c Ensure that the argument of shmdt(2) is declared "void *". 2022-02-15 17:17:28 -05:00
win32_sema.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
win32_shmem.c Update copyright for 2022 2022-01-07 19:04:57 -05:00