w32: Merge all the object tables of w32-io into one.
authorWerner Koch <wk@gnupg.org>
Thu, 1 Nov 2018 08:53:48 +0000 (09:53 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 1 Nov 2018 08:53:48 +0000 (09:53 +0100)
commit338e9edfdb9239f1c9d4409f6d08d79a9d6f285b
treef86d3b6f976f78c1ce6518a2961525f288651eaf
parent79fc7c0fe825014e75bb825c4966a04a22e78254
w32: Merge all the object tables of w32-io into one.

* src/w32-io.c (fd_table_size): New.  Used in most places instead of
the MAX_SLAFD constant.
(reader_table, writer_table, notify_table): Merge them into ...
(fd_table): this table.  Chnage all affected code to take just one
lock.

Signed-off-by: Werner Koch <wk@gnupg.org>
src/w32-io.c