summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/ChangeLog
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2006-06-14 20:19:10 +0000
committerCorinna Vinschen <corinna@vinschen.de>2006-06-14 20:19:10 +0000
commit1b9cba59c38702b6bcdec116591d3c7191ea7ad7 (patch)
tree375903e72b8f9b649aaf49e34e1f65cfa7ea3641 /winsup/cygwin/ChangeLog
parent6976c28f870d2fb87e12bd5ef879d15115d66db8 (diff)
downloadcygnal-1b9cba59c38702b6bcdec116591d3c7191ea7ad7.tar.gz
cygnal-1b9cba59c38702b6bcdec116591d3c7191ea7ad7.tar.bz2
cygnal-1b9cba59c38702b6bcdec116591d3c7191ea7ad7.zip
* fhandler.h (class fhandler_socket): Add private mutex handle
accept_mtx. * fhandler_socket.cc (fhandler_socket::fhandler_socket): Initialize accept_mtx to NULL. (fhandler_socket::dup): Duplicate accept_mtx, if available. (fhandler_socket::listen): Create accept_mtx before trying to listen. (fhandler_socket::prepare): Wait for accept_mtx if available to serialize accepts on the same socket. (fhandler_socket::release): Release accept_mtx. (fhandler_socket::close): Close accept_mtx on successful closesocket.
Diffstat (limited to 'winsup/cygwin/ChangeLog')
-rw-r--r--winsup/cygwin/ChangeLog13
1 files changed, 13 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index fb9fb11c6..659f65b48 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,16 @@
+2006-06-14 Corinna Vinschen <corinna@vinschen.de>
+
+ * fhandler.h (class fhandler_socket): Add private mutex handle
+ accept_mtx.
+ * fhandler_socket.cc (fhandler_socket::fhandler_socket): Initialize
+ accept_mtx to NULL.
+ (fhandler_socket::dup): Duplicate accept_mtx, if available.
+ (fhandler_socket::listen): Create accept_mtx before trying to listen.
+ (fhandler_socket::prepare): Wait for accept_mtx if available to
+ serialize accepts on the same socket.
+ (fhandler_socket::release): Release accept_mtx.
+ (fhandler_socket::close): Close accept_mtx on successful closesocket.
+
2006-06-12 Christopher Faylor <cgf@timesys.com>
* fhandler_tty.cc (fhandler_pty_master::close): Always close