4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-16 11:31:00 +08:00
Corinna Vinschen 023c25829c * cygtls.h (struct _local_storage): Add thread storage pointers for
memory used by socket select functions.  Combine them into a single
	struct select.
	* cygtls.cc: Accommodate above change throughout.
	(_cygtls::init_thread): Drop initalizing of sockevt to
	INVALID_HANDLE_VALUE.
	(_cygtls::fixup_after_fork): Reset sockevt to NULL.
	(_cygtls::remove): Don't use sockevt value to bail out prematurely.
	Set sockevt to NULL.  Free malloced select members.
	* select.h (struct select_socket_info): Drop max_w4 member.
	* select.cc (thread_socket): Use INFINITE timeout value if number of
	objects to wait for is <= MAXIMUM_WAIT_OBJECTS.  Use num_w4 member
	of select_socket_info struct rather than dropped max_w4.
	(init_tls_select_info): New inline function to initialize TLS select
	members.
	(start_thread_socket): Just call init_tls_select_info to initialize TLS
	select members and use them later on.
	(socket_cleanup): Don't free select_socket_info pointer members since
	they are thread local now.
2009-07-06 15:42:01 +00:00
..
2009-01-21 17:14:39 +00:00
2009-07-06 10:44:14 +00:00
2007-01-03 11:14:53 +00:00
2009-01-03 02:27:46 +00:00
2009-01-21 17:14:39 +00:00
2009-01-21 17:14:39 +00:00
2009-01-21 17:14:39 +00:00
2009-07-03 18:05:51 +00:00
2009-01-16 12:17:28 +00:00
2008-11-26 17:21:04 +00:00
2008-11-26 17:21:04 +00:00
2009-01-21 17:14:39 +00:00
2008-11-26 17:21:04 +00:00
2008-05-20 15:11:23 +00:00
2008-12-25 15:55:31 +00:00
2009-07-03 18:05:51 +00:00
2008-04-01 13:22:47 +00:00
2009-01-21 17:14:39 +00:00
2009-01-21 17:14:39 +00:00
2008-05-22 01:25:37 +00:00
2009-07-03 18:05:51 +00:00
2009-07-03 18:05:51 +00:00
2009-02-19 16:12:02 +00:00