diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-06-14 20:19:10 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-06-14 20:19:10 +0000 |
commit | 1b9cba59c38702b6bcdec116591d3c7191ea7ad7 (patch) | |
tree | 375903e72b8f9b649aaf49e34e1f65cfa7ea3641 /newlib/libc/stdio/wbuf.c | |
parent | 6976c28f870d2fb87e12bd5ef879d15115d66db8 (diff) | |
download | newlib-1b9cba59c38702b6bcdec116591d3c7191ea7ad7.zip newlib-1b9cba59c38702b6bcdec116591d3c7191ea7ad7.tar.gz newlib-1b9cba59c38702b6bcdec116591d3c7191ea7ad7.tar.bz2 |
* 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 'newlib/libc/stdio/wbuf.c')
0 files changed, 0 insertions, 0 deletions