src/winsup/cygwin ChangeLog thread.cc

corinna@cygwin.com corinna@cygwin.com
Wed Jul 9 12:06:00 GMT 2014


CVSROOT:	/cvs/src
Module name:	src
Changes by:	corinna@sourceware.org	2014-07-09 12:06:08

Modified files:
	winsup/cygwin  : ChangeLog thread.cc 

Log message:
	* thread.cc (pthread::create): Use PTHREAD_DEFAULT_STACKSIZE stacksize
	if attr.stacksize is 0.
	(pthread_attr::pthread_attr): Initialize stacksize to 0 to align more
	closely to Linux.
	(pthread_attr_getstack): Fix incorrect stackaddr computation.  Return
	stackaddr just like pthread_attr_getstackaddr.  Remove slightly off
	comment.
	(pthread_attr_getstackaddr): Remove slightly off comment.
	(pthread_getattr_np): Return stackaddr and stacksize based on the full
	allocated stackarea.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.6467&r2=1.6468
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/thread.cc.diff?cvsroot=src&r1=1.288&r2=1.289



More information about the Cygwin-cvs mailing list