Windows: add pthread_sigmask() that does nothing
commitf924b52a7779038cee94151f0c1ee144652bccbe
authorJohannes Sixt <j6t@kdbg.org>
Sun, 1 May 2016 19:08:21 +0000 (1 21:08 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 2 May 2016 18:22:24 +0000 (2 11:22 -0700)
tree6498f8cd74cb9ddbf0c30be6d0f6fb99113cc327
parentc4b27511ab0e3ec464e3fd3d4711251a17b1f733
Windows: add pthread_sigmask() that does nothing

A previous change introduced a call to pthread_sigmask() in order to block
SIGPIPE in a thread. Since there are no signal facilities on Windows that
are similar to POSIX signals, just ignore the request to block the signal.
In the particular case, the effect of blocking SIGPIPE on POSIX is that
write() calls return EPIPE when the reader closes the pipe. This is how
write() behaves on Windows.

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
compat/mingw.h
compat/win32/pthread.h