Combine win32 and unix latch implementations.
authorAndres Freund <andres@anarazel.de>
Mon, 21 Mar 2016 08:56:39 +0000 (09:56 +0100)
committerAndres Freund <andres@anarazel.de>
Mon, 21 Mar 2016 10:03:26 +0000 (11:03 +0100)
commit72e2d21c1249b674496f97cd6009c0bda62f6b4d
treed1bd384ebc65e08446191e4396e9055698093fbf
parent326d73c86fda407a810675c3b5a48e0a0cc992f5
Combine win32 and unix latch implementations.

Previously latches for windows and unix had been implemented in
different files. A later patch introduce an expanded wait
infrastructure, keeping the implementation separate would introduce too
much duplication.

This basically just moves the functions, without too much change. The
reason to keep this separate is that it allows blame to continue working
a little less badly; and to make review a tiny bit easier.

Discussion: 20160114143931.GG10941@awork2.anarazel.de
configure
configure.in
src/backend/Makefile
src/backend/port/.gitignore
src/backend/port/Makefile
src/backend/port/win32_latch.c [deleted file]
src/backend/storage/ipc/Makefile
src/backend/storage/ipc/latch.c [moved from src/backend/port/unix_latch.c with 74% similarity]
src/include/storage/latch.h
src/tools/msvc/Mkvcbuild.pm