]> sourceware.org Git - newlib-cygwin.git/commit
* cygtls.h (exitsock): New element.
authorChristopher Faylor <me@cgf.cx>
Mon, 11 Oct 2004 02:21:31 +0000 (02:21 +0000)
committerChristopher Faylor <me@cgf.cx>
Mon, 11 Oct 2004 02:21:31 +0000 (02:21 +0000)
commit1cda132258b09d009064856dab1c36f3b9f19628
treea2e4d9a212d2d6cd44aacbd9729df00dc6fe68b8
parent8d712c8c3e7cdf417f60b9b38d87332c436114bd
* cygtls.h (exitsock): New element.
(exitsock_sin): Ditto.
* cygtls.cc (_cygtls::init_thread): Initialize exitsock to invalid handle.
(_cygtls::call2): Close exitsock if it is valid.
* select.cc (struct socketinf): Remove sin element.
(start_thread_socket): Initialize one SOCK_DGRAM socket per thread instead of
(apparently) expensive opening and closing of socket with each select call.
(socket_cleanup): Send a byte to the exitsock socket as a way to potentially
signal a waiting-for-socket thread to exit.
* tlsoffsets.h: Regenerate.
winsup/cygwin/ChangeLog
winsup/cygwin/cygtls.cc
winsup/cygwin/cygtls.h
winsup/cygwin/select.cc
winsup/cygwin/tlsoffsets.h
This page took 0.032177 seconds and 5 git commands to generate.