about summary refs log tree commit diff
path: root/src/thread/pthread_attr_init.c
Commit message (Collapse)AuthorAgeFilesLines
* simplify pthread_attr_t stack/guard size representationRich Felker2016-11-071-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.
* include cleanups: remove unused headers and add feature test macrosSzabolcs Nagy2013-12-121-1/+0
|
* clean up sloppy nested inclusion from pthread_impl.hRich Felker2012-11-081-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).
* initial check-in, version 0.5.0 v0.5.0Rich Felker2011-02-121-0/+7