summaryrefslogtreecommitdiff
path: root/src/thread/pthread_attr_init.c
AgeCommit message (Collapse)AuthorLines
2016-11-07simplify pthread_attr_t stack/guard size representationRich Felker-0/+2
previously, the pthread_attr_t object was always initialized all-zero, and stack/guard size were represented as differences versus their defaults. this required lots of confusing offset arithmetic everywhere they were used. instead, have pthread_attr_init fill in the default values, and work with absolute sizes everywhere.
2013-12-12include cleanups: remove unused headers and add feature test macrosSzabolcs Nagy-1/+0
2012-11-08clean up sloppy nested inclusion from pthread_impl.hRich Felker-1/+2
this mirrors the stdio_impl.h cleanup. one header which is not strictly needed, errno.h, is left in pthread_impl.h, because since pthread functions return their error codes rather than using errno, nearly every single pthread function needs the errno constants. in a few places, rather than bringing in string.h to use memset, the memset was replaced by direct assignment. this seems to generate much better code anyway, and makes many functions which were previously non-leaf functions into leaf functions (possibly eliminating a great deal of bloat on some platforms where non-leaf functions require ugly prologue and/or epilogue).
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+7