newlib-cygwin/winsup/cygwin/include
Corinna Vinschen cdb4231369 * cygwin.din (pthread_attr_getguardsize): Export.
(pthread_attr_setguardsize): Export.
	(pthread_attr_setstack): Export.
	(pthread_attr_setstackaddr): Export.
	* init.cc (dll_entry): Remove wow64_test_stack_marker.  Check for
	unusual stack address by testing stack addresses from current TEB.
	Check validity of _my_tls by testing if it's within the stack as
	given in current TEB.
	* miscfuncs.cc (struct thread_wrapper_arg): New structure used to
	push all required information to thread_wrapper function.
	(thread_wrapper): Wrapper function for actual thread function.
	If an application stack has been given, change %ebp and %esp so that
	the thread function runs on that stack.  If the thread has been created
	by CygwinCreateThread, set up the POSIX guard pages if necessary.
	(CygwinCreateThread): New function.
	* miscfuncs.h (CygwinCreateThread): Declare.
	* ntdll.h (struct _TEB): Define all members up to Peb.
	* posix.sgml (std-susv4): Move pthread_attr_getguardsize,
	pthread_attr_setguardsize and pthread_attr_setstack here.
	(std-deprec): Add pthread_attr_setstackaddr.
	* sysconf.cc (sca): Set _SC_THREAD_ATTR_STACKADDR to
	_POSIX_THREAD_ATTR_STACKADDR.
	* thread.cc (pthread::precreate): Copy pthread_attr stackaddr and
	guardsize members.
	(pthread::create): Call CygwinCreateThread.
	(pthread_attr::pthread_attr): Initialize guardsize.
	(pthread_attr_setstack): New function.
	(pthread_attr_setstackaddr): New function.
	(pthread_attr_setguardsize): New function.
	(pthread_attr_getguardsize): New function.
	(pthread_getattr_np): Copy attr.guardsize.
	* thread.h (pthread_attr): Add member guardsize.
	* include/pthread.h (pthread_attr_getguardsize): Declare.
	(pthread_attr_setguardsize): Declare.
	* include/cygwin/version.h: Bump API minor number.
2011-05-15 18:49:40 +00:00
..
arpa * include/endian.h: Move definitions of __BIG_ENDIAN, __LITTLE_ENDIAN, 2011-02-11 12:42:30 +00:00
asm * include/endian.h: Move definitions of __BIG_ENDIAN, __LITTLE_ENDIAN, 2011-02-11 12:42:30 +00:00
attr
bits * include/endian.h: Move definitions of __BIG_ENDIAN, __LITTLE_ENDIAN, 2011-02-11 12:42:30 +00:00
cygwin * cygwin.din (pthread_attr_getguardsize): Export. 2011-05-15 18:49:40 +00:00
machine
net
netinet * include/endian.h: Move definitions of __BIG_ENDIAN, __LITTLE_ENDIAN, 2011-02-11 12:42:30 +00:00
sys * sysconf.cc (sysinfo): New function. 2011-05-06 18:53:21 +00:00
a.out.h
byteswap.h
dlfcn.h * include/dlfcn.h (RTLD_LOCAL): Define. 2010-08-09 07:48:24 +00:00
elf.h
endian.h * include/endian.h: Move definitions of __BIG_ENDIAN, __LITTLE_ENDIAN, 2011-02-11 12:42:30 +00:00
err.h * include/err.h: Fix loss of semicolons in previous patch. 2011-02-02 15:14:46 +00:00
exceptions.h
fcntl.h * include/fcntl.h (O_TTY_INIT): Define as 0. 2010-01-13 16:51:37 +00:00
features.h * include/features.h (__STDC_ISO_10646__): Move to newlib's 2011-01-27 11:55:51 +00:00
fenv.h * include/fenv.h: Add missing _FENV_H_ define. 2011-04-24 11:54:06 +00:00
fnmatch.h
fts.h Remove all traces of __CYGWIN_USE_BIG_TYPES__. 2010-02-26 09:36:21 +00:00
ftw.h Remove all traces of __CYGWIN_USE_BIG_TYPES__. 2010-02-26 09:36:21 +00:00
getopt.h
glob.h
icmp.h
ifaddrs.h
inttypes.h * include/inttypes.h: Change PTR definitions to int to align with the 2010-05-26 13:37:48 +00:00
io.h
lastlog.h
libgen.h
limits.h * include/limits.h (NGROUPS_MAX): Set to a more sane value. 2009-08-11 07:28:22 +00:00
mapi.h
memory.h
mntent.h * include/paths.h (_PATH_MNTTAB): Define. 2010-02-02 11:17:54 +00:00
monetary.h * Makefile.in (DLL_OFILES): Add nlsfunc.o and strfmon.o. 2010-01-22 22:31:31 +00:00
mqueue.h
netdb.h * include/netdb.h: #include <inttypes.h>, <netinet/in.h>, 2009-04-02 08:48:03 +00:00
paths.h * include/paths.h (_PATH_VARTMP): Define. 2010-11-02 17:38:36 +00:00
poll.h
pthread.h * cygwin.din (pthread_attr_getguardsize): Export. 2011-05-15 18:49:40 +00:00
pty.h Make pty.h match recent glibc. 2009-12-26 06:20:56 +00:00
regex.h * include/regex.h: Include _ansi.h to avoid missing out on preprocessor 2010-04-27 15:18:14 +00:00
resolv.h
search.h
semaphore.h
stdint.h * include/stdint.h (intptr_t): Remove long from type. 2009-04-13 22:55:00 +00:00
sysexits.h
syslog.h
termio.h
tzfile.h
utmpx.h
wait.h