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-07-09 13:25:03 -07:00
2013-02-01 14:51:19 -08:00
2013-01-11 16:44:15 -08:00
2013-06-11 15:45:23 -07:00
2013-07-09 13:25:03 -07:00
2013-06-04 11:55:08 -07:00
2013-02-13 14:40:48 -08:00
2013-07-12 11:25:20 -07:00