Elliott Hughes b95cf0d23a Fix pthread_getattr_np, pthread_attr_setguardsize, and pthread_attr_setstacksize.
pthread_getattr_np was reporting the values supplied to us, not the values we
actually used, which is kinda the whole point of pthread_getattr_np.

pthread_attr_setguardsize and pthread_attr_setstacksize were reporting EINVAL
for any size that wasn't a multiple of the system page size. This is
unnecessary. We can just round like POSIX suggests and glibc already does.

Also improve the error reporting for pthread_create failures.

Change-Id: I7ebc518628a8a1161ec72e111def911d500bba71
2013-07-15 14:51:07 -07:00
..
2013-06-12 14:14:53 -07:00
2011-12-06 08:39:18 -08:00
2013-02-25 13:14:31 -08:00
2013-06-12 14:14:53 -07:00
2013-02-15 12:08:59 -08:00
2009-03-03 19:28:35 -08:00
2012-11-19 11:46:33 -08:00
2013-03-15 16:12:58 -07:00
2011-07-07 22:46:16 +02:00
2012-12-10 11:20:57 -08:00
2013-02-25 13:14:31 -08:00
2013-07-09 14:18:36 -07:00
2012-10-16 17:58:17 -07:00
2012-10-16 17:58:17 -07:00
2013-03-15 16:12:58 -07:00
2010-10-15 02:16:16 +08:00